Maroon Colors  ·  Color Library

Palettes / Colors / #123762

#123762 — Deep Blue

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

#123762 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 #633D12; it also sits naturally between #126063 and #151263. In the palettes below you can see it working alongside real color combinations from our collection.

#123762 · RGB 18, 55, 98

Download PNG swatch SVG

Color values

HEX#123762
RGB18, 55, 98
HSL212°, 69%, 23%
HSV212°, 82%, 38%
CMYK82%, 44%, 0%, 62%
XYZ3.82, 3.74, 12.08
Yxy3.74, 0.1945, 0.1906
CIE-Lab22.80, 4.02, -29.19
Hunter Lab19.35, 2.46, -25.46

RGB & CMYK percentages

Red 7% · Green 22% · Blue 38%

Cyan 82% · Magenta 44% · Yellow 0% · Key 62%

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

Previews

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

CSS code for #123762

.text { color: #123762; }
.background { background-color: #123762; }
.border { border: 3px solid #123762; }
.text-rgb { color: rgb(18, 55, 98); }
.text-hsl { color: hsl(212, 69%, 23%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #123762; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(18, 55, 98, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #123762; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(18, 55, 98, 0.8); }

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

Shades of #123762

#11335A#0F2E52#0D2949#0C2441#0B223C#091D34#08182B#061322#050F1A#030A11

Tints of #123762

#184981#1E5CA4#246DC2#307FD9#5394DF#71A7E5#8FBAEA#ADCCF0#D0E2F6#EEF4FC

Tones of #123762

#18385D#1E3957#243952#29394C#2F3A46#353A41

Color harmonies

Complementary — #633D12:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.01:1 AAA
Against black text1.75:1 Fails

Best text color on #123762: #FFFFFF.

Semi-transparent (opacity) text on #123762

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

How #123762 looks with color blindness

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

Protanopia · #222258Deuteranopia · #201D55Tritanopia · #144F4E

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 · #475569Bootstrap dark · #212529Tailwind gray 600 · #4B5563

Palettes with a similar color

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

Dusty Marble
#73A5E8 · #2A63B1 · #133563 · #0D203A
Palette F6f6c9
#F6F6C9 · #BAD1C2 · #4FA095 · #153462
Palette F4f6ff
#F4F6FF · #F3C623 · #EB8317 · #10375C
Radiant Ruby Breeze
#64811F · #1D7424 · #2D655D · #163365
Palette Ddeb9d
#DDEB9D · #A0C878 · #27667B · #143D60
Palette 1d2d50
#1D2D50 · #133B5C · #1E5F74 · #FCDAB7

Similar colors

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

#133563#153462#10375C#163365#143D60#133B5C#193A5F#163B5C#152F65#16325B#173F63#1A3263

Browse neighbouring colors

← #123761  ·  #123763 →

Frequently asked questions

What color is #123762?

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

What is the RGB and HSL of #123762?

#123762 is RGB 18, 55, 98 — HSL 212°, 69%, 23% — CMYK 82%, 44%, 0%, 62%.

What colors go with #123762?

Its complement is #633D12; analogous partners are #126063 and #151263. It also appears in 6+ palettes in our collection.

Can I use #123762 for text?

White text on #123762 has a contrast ratio of 12.01:1 (passes WCAG AA); black text gives 1.75:1.