#0C405B

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.3% 0.07 237.1), rgb(12, 64, 91).

Aa

White text reads best on this color (11.05:1).

About this color

#0C405B is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.070 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.027 away. White text reads best on it, at 11.05:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.070)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.90:1
White text11.05:1

Values

HEX#0C405B
RGBrgb(12, 64, 91)
HSLhsl(201, 77%, 20%)
OKLCHoklch(35.3% 0.07 237.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0C405B 11.05:1 AAA Lc -99.1 Preferred for body text
Black text on #0C405B 1.90:1 Fails Lc 8.7 Not readable
#0C405B text on white 11.05:1 AAA Lc 95.2 Preferred for body text
#0C405B text on black 1.90:1 Fails Lc -7.4 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A1C6DF

    oklch(80.8% 0.053 237.9)

  5. Step 400

    400

    #6CA9CF

    oklch(70.8% 0.084 237)

  6. Step 500

    500

    #4092C2

    oklch(63% 0.107 237.6)

  7. Step 600

    600

    #137CAE

    oklch(55.6% 0.116 236.8)

  8. Step 700

    700

    #006896

    oklch(49.1% 0.108 237.6)

  9. Step 800

    800

    #09557A

    oklch(42.7% 0.09 237.6)

  10. Step 900

    900 (this color)

    #0C405B

    oklch(35.3% 0.07 237.1)

  11. Step 950

    950

    #0E2939

    oklch(26.8% 0.044 237.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C405B with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#33405C0.040
Deuteranopia (no green cones)#28395B0.031
Tritanopia (no blue cones)#0047490.045
Achromatopsia (no color)#3C3C3C0.070

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0C405B

    #0C405B

    oklch(35.3% 0.07 237.1)

  • #563112

    #563112

    oklch(35.3% 0.069 57.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C405B

    #0C405B

    oklch(35.3% 0.07 237.1)

  • #00444B

    #00444B

    oklch(35.3% 0.06 206.4)

  • #2B3960

    #2B3960

    oklch(35.2% 0.071 267.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0C405B

    #0C405B

    oklch(35.3% 0.07 237.1)

  • #5A2B27

    #5A2B27

    oklch(35.1% 0.07 26.3)

  • #4B3803

    #4B3803

    oklch(35.2% 0.07 86.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C405B

    #0C405B

    oklch(35.3% 0.07 237.1)

  • #582A3C

    #582A3C

    oklch(35.3% 0.071 356.6)

  • #39400F

    #39400F

    oklch(35.4% 0.07 117.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C405B

    #0C405B

    oklch(35.3% 0.07 237.1)

  • #4E2D4E

    #4E2D4E

    oklch(35.2% 0.07 326.9)

  • #563112

    #563112

    oklch(35.3% 0.069 57.5)

  • #1F4525

    #1F4525

    oklch(35.3% 0.07 147.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0C405B, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0C405B in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.