#0C4C66

Closest named color: Dark Grey Blue (#29465B). oklch(39.2% 0.074 231.5), rgb(12, 76, 102).

Aa

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

About this color

#0C4C66 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, 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.028 away. White text reads best on it, at 9.36:1.

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

Values

HEX#0C4C66
RGBrgb(12, 76, 102)
HSLhsl(197, 79%, 22%)
OKLCHoklch(39.2% 0.074 231.5)

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 #0C4C66 9.36:1 AAA Lc -95.6 Preferred for body text
Black text on #0C4C66 2.24:1 Fails Lc 12.7 Not readable
#0C4C66 text on white 9.36:1 AAA Lc 91.3 Preferred for body text
#0C4C66 text on black 2.24:1 Fails Lc -11.1 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

    #9DC8DE

    oklch(80.9% 0.055 230.5)

  5. Step 400

    400

    #63ABCE

    oklch(70.8% 0.089 230.9)

  6. Step 500

    500

    #2C95C2

    oklch(63.1% 0.114 231.5)

  7. Step 600

    600

    #007EA9

    oklch(55.6% 0.112 231.2)

  8. Step 700

    700

    #006A8F

    oklch(49.2% 0.1 231.3)

  9. Step 800

    800

    #005776

    oklch(42.8% 0.087 231.2)

  10. Step 900

    900 (this color)

    #0C4C66

    oklch(39.2% 0.074 231.5)

  11. Step 950

    950

    #082A39

    oklch(26.9% 0.047 231.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C4C66 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)#3F4B670.049
Deuteranopia (no green cones)#3343660.041
Tritanopia (no blue cones)#0053550.043
Achromatopsia (no color)#4646460.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4C66

    #0C4C66

    oklch(39.2% 0.074 231.5)

  • #64391D

    #64391D

    oklch(39.1% 0.074 52)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4C66

    #0C4C66

    oklch(39.2% 0.074 231.5)

  • #005054

    #005054

    oklch(39.2% 0.067 200.6)

  • #2F456D

    #2F456D

    oklch(39.2% 0.074 261.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C4C66

    #0C4C66

    oklch(39.2% 0.074 231.5)

  • #683434

    #683434

    oklch(39.3% 0.075 21)

  • #59410C

    #59410C

    oklch(39.2% 0.074 82.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4C66

    #0C4C66

    oklch(39.2% 0.074 231.5)

  • #63344A

    #63344A

    oklch(39.2% 0.073 351.5)

  • #474913

    #474913

    oklch(39.2% 0.074 111.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4C66

    #0C4C66

    oklch(39.2% 0.074 231.5)

  • #58375D

    #58375D

    oklch(39.1% 0.075 322.1)

  • #64391D

    #64391D

    oklch(39.1% 0.074 52)

  • #2D4F29

    #2D4F29

    oklch(39.1% 0.074 141.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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