#0C405A

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.2% 0.069 236.1), rgb(12, 64, 90).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.069)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.89:1
White text11.07:1

Values

HEX#0C405A
RGBrgb(12, 64, 90)
HSLhsl(200, 76%, 20%)
OKLCHoklch(35.2% 0.069 236.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 #0C405A 11.07:1 AAA Lc -99.1 Preferred for body text
Black text on #0C405A 1.89:1 Fails Lc 8.6 Not readable
#0C405A text on white 11.07:1 AAA Lc 95.3 Preferred for body text
#0C405A text on black 1.89: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

    #F1F6F9

    oklch(97% 0.007 233.6)

  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

    #A2C6DE

    oklch(80.8% 0.051 237.5)

  5. Step 400

    400

    #6CA9CD

    oklch(70.7% 0.082 235.5)

  6. Step 500

    500

    #4093C1

    oklch(63.2% 0.106 236.2)

  7. Step 600

    600

    #137CAD

    oklch(55.5% 0.115 236.3)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #095579

    oklch(42.6% 0.089 236.8)

  10. Step 900

    900 (this color)

    #0C405A

    oklch(35.2% 0.069 236.1)

  11. Step 950

    950

    #0E2A39

    oklch(27.1% 0.044 235)

Export this scale for Tailwind in the Tailwind colors tool

#0C405A 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)#33405B0.040
Deuteranopia (no green cones)#29395A0.032
Tritanopia (no blue cones)#0047490.044
Achromatopsia (no color)#3C3C3C0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C405A

    #0C405A

    oklch(35.2% 0.069 236.1)

  • #563113

    #563113

    oklch(35.3% 0.069 56.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C405A

    #0C405A

    oklch(35.2% 0.069 236.1)

  • #00444B

    #00444B

    oklch(35.3% 0.06 206.4)

  • #2A3A5F

    #2A3A5F

    oklch(35.3% 0.068 265.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C405A

    #0C405A

    oklch(35.2% 0.069 236.1)

  • #5A2C28

    #5A2C28

    oklch(35.3% 0.068 26.2)

  • #4B3805

    #4B3805

    oklch(35.2% 0.069 86)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C405A

    #0C405A

    oklch(35.2% 0.069 236.1)

  • #572B3C

    #572B3C

    oklch(35.3% 0.068 356.6)

  • #393F0F

    #393F0F

    oklch(35.1% 0.069 116.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C405A

    #0C405A

    oklch(35.2% 0.069 236.1)

  • #4D2E4E

    #4D2E4E

    oklch(35.2% 0.067 325.8)

  • #563113

    #563113

    oklch(35.3% 0.069 56.8)

  • #214524

    #214524

    oklch(35.4% 0.07 145.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C405A 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.