Maroon Colors  ·  Color Library

Palettes / Colors / #123766

#123766 — Deep Blue

#123766 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 #123766 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.

#123766 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.

#123766 · RGB 18, 55, 102

Download PNG swatch SVG

Color values

HEX#123766
RGB18, 55, 102
HSL214°, 70%, 24%
HSV214°, 82%, 40%
CMYK82%, 46%, 0%, 60%
XYZ4.01, 3.82, 13.10
Yxy3.82, 0.1918, 0.1825
CIE-Lab23.07, 5.72, -31.37
Hunter Lab19.55, 3.55, -28.15

RGB & CMYK percentages

Red 7% · Green 22% · Blue 40%

Cyan 82% · Magenta 46% · Yellow 0% · Key 60%

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

Previews

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

CSS code for #123766

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

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

Shades of #123766

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

Tints of #123766

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

Tones of #123766

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

Color harmonies

Complementary — #684312:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.90:1 AAA
Against black text1.76:1 Fails

Best text color on #123766: #FFFFFF.

Semi-transparent (opacity) text on #123766

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 #123766: ·

How #123766 looks with color blindness

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

Protanopia · #22225BDeuteranopia · #201D58Tritanopia · #145250

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 #123766 rather than the exact color:

Dusty Marble
#73A5E8 · #2A63B1 · #133563 · #0D203A
Radiant Ruby Breeze
#64811F · #1D7424 · #2D655D · #163365
Palette F6f6c9
#F6F6C9 · #BAD1C2 · #4FA095 · #153462
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6
Palette 0c356a
#0C356A · #0174BE · #FFC436 · #FFF0CE
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#163365#153462#0E376C#0C356A#113F67#152F65#143D60#183A6D#173F63#1A3263#19376D

Browse neighbouring colors

← #123765  ·  #123767 →

Frequently asked questions

What color is #123766?

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

What is the RGB and HSL of #123766?

#123766 is RGB 18, 55, 102 — HSL 214°, 70%, 24% — CMYK 82%, 46%, 0%, 60%.

What colors go with #123766?

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

Can I use #123766 for text?

White text on #123766 has a contrast ratio of 11.90:1 (passes WCAG AA); black text gives 1.76:1.