Maroon Colors  ·  Color Library

Palettes / Colors / #123768

#123768 — Deep Blue

#123768 is a blue color we call Deep Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #123768 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#123768 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #684312; it also sits naturally between #126268 and #181268. In the palettes below you can see it working alongside real color combinations from our collection.

#123768 · RGB 18, 55, 104

Download PNG swatch SVG

Color values

HEX#123768
RGB18, 55, 104
HSL214°, 70%, 24%
HSV214°, 83%, 41%
CMYK83%, 47%, 0%, 59%
XYZ4.11, 3.86, 13.62
Yxy3.86, 0.1905, 0.1787
CIE-Lab23.20, 6.57, -32.44
Hunter Lab19.65, 4.11, -29.52

RGB & CMYK percentages

Red 7% · Green 22% · Blue 41%

Cyan 83% · Magenta 47% · Yellow 0% · Key 59%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #123768 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #123768 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #123768

.text { color: #123768; }
.background { background-color: #123768; }
.border { border: 3px solid #123768; }
.text-rgb { color: rgb(18, 55, 104); }
.text-hsl { color: hsl(214, 70%, 24%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #123768; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(18, 55, 104, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #123768; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(18, 55, 104, 0.8); }

HTML: <p style="color:#123768">Text here</p> · <div style="background-color:#123768">Div content here</div>

Shades of #123768

#11335F#0F2E57#0E2A4E#0C2545#0B203D#091C34#08172B#061223#050E1A#030911

Tints of #123768

#184886#1D58A5#236AC7#337CDB#528FE0#70A3E6#8EB7EB#B1CDF1#CFE0F7#EEF4FC

Tones of #123768

#183862#1F395C#253A56#2B3B50#313C49#373C43

Color harmonies

Complementary — #684312:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.85:1 AAA
Against black text1.77:1 Fails

Best text color on #123768: #FFFFFF.

Semi-transparent (opacity) text on #123768

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #123768: ·

How #123768 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #22225CDeuteranopia · #201D59Tritanopia · #145351

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563Bootstrap dark · #212529

Palettes with a similar color

These palettes use a close neighbour of #123768 rather than the exact color:

Dusty Marble
#73A5E8 · #2A63B1 · #133563 · #0D203A
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6
Radiant Ruby Breeze
#64811F · #1D7424 · #2D655D · #163365
Palette 0c356a
#0C356A · #0174BE · #FFC436 · #FFF0CE
Palette F6f6c9
#F6F6C9 · #BAD1C2 · #4FA095 · #153462
Palette 113f67
#113F67 · #34699A · #58A0C8 · #FDF5AA

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#133563#0E376C#163365#0C356A#153462#113F67#183A6D#19376D#152F65#143D60#1B3C68#173F63

Browse neighbouring colors

← #123767  ·  #123769 →

Frequently asked questions

What color is #123768?

#123768 is Deep Blue, a blue color (RGB 18, 55, 104). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #123768?

#123768 is RGB 18, 55, 104 — HSL 214°, 70%, 24% — CMYK 83%, 47%, 0%, 59%.

What colors go with #123768?

Its complement is #684312; analogous partners are #126268 and #181268. It also appears in 6+ palettes in our collection.

Can I use #123768 for text?

White text on #123768 has a contrast ratio of 11.85:1 (passes WCAG AA); black text gives 1.77:1.