#0C4D67

Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.074 231.1), rgb(12, 77, 103).

Aa

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

About this color

#0C4D67 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.074 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.030 away. White text reads best on it, at 9.23:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.27:1
White text9.23:1

Values

HEX#0C4D67
RGBrgb(12, 77, 103)
HSLhsl(197, 79%, 23%)
OKLCHoklch(39.5% 0.074 231.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 #0C4D67 9.23:1 AAA Lc -95.3 Preferred for body text
Black text on #0C4D67 2.27:1 Fails Lc 13.0 Not readable
#0C4D67 text on white 9.23:1 AAA Lc 90.9 Preferred for body text
#0C4D67 text on black 2.27:1 Fails Lc -11.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

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C6DDEA

    oklch(88.4% 0.03 232.5)

  4. Step 300

    300

    #9DC8DF

    oklch(81% 0.056 231.7)

  5. Step 400

    400

    #62ABCE

    oklch(70.7% 0.089 230.6)

  6. Step 500

    500

    #2A95C2

    oklch(63.1% 0.115 231.3)

  7. Step 600

    600

    #007EA9

    oklch(55.6% 0.112 231.2)

  8. Step 700

    700

    #006A8E

    oklch(49.1% 0.099 230.6)

  9. Step 800

    800

    #005775

    oklch(42.8% 0.086 230.3)

  10. Step 900

    900 (this color)

    #0C4D67

    oklch(39.5% 0.074 231.1)

  11. Step 950

    950

    #082A39

    oklch(26.9% 0.047 231.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C4D67 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)#404C680.050
Deuteranopia (no green cones)#3444670.042
Tritanopia (no blue cones)#0054560.043
Achromatopsia (no color)#4747470.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4D67

    #0C4D67

    oklch(39.5% 0.074 231.1)

  • #663A1E

    #663A1E

    oklch(39.6% 0.075 51.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4D67

    #0C4D67

    oklch(39.5% 0.074 231.1)

  • #005155

    #005155

    oklch(39.5% 0.067 200.6)

  • #2F466E

    #2F466E

    oklch(39.5% 0.074 260.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C4D67

    #0C4D67

    oklch(39.5% 0.074 231.1)

  • #693535

    #693535

    oklch(39.6% 0.074 21)

  • #5B420D

    #5B420D

    oklch(39.7% 0.075 81.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4D67

    #0C4D67

    oklch(39.5% 0.074 231.1)

  • #64354B

    #64354B

    oklch(39.6% 0.073 351.5)

  • #484A13

    #484A13

    oklch(39.5% 0.075 111.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4D67

    #0C4D67

    oklch(39.5% 0.074 231.1)

  • #59385F

    #59385F

    oklch(39.6% 0.076 321.3)

  • #663A1E

    #663A1E

    oklch(39.6% 0.075 51.5)

  • #2E5029

    #2E5029

    oklch(39.4% 0.075 141.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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