#0C4E6C

Closest named color: Dark Grey Blue (#29465B). oklch(40.1% 0.079 234.6), rgb(12, 78, 108).

Aa

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

About this color

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

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

Values

HEX#0C4E6C
RGBrgb(12, 78, 108)
HSLhsl(199, 80%, 24%)
OKLCHoklch(40.1% 0.079 234.6)

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 #0C4E6C 9.04:1 AAA Lc -94.8 Preferred for body text
Black text on #0C4E6C 2.32:1 Fails Lc 13.6 Not readable
#0C4E6C text on white 9.04:1 AAA Lc 90.4 Preferred for body text
#0C4E6C text on black 2.32:1 Fails Lc -11.9 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

    #DFECF4

    oklch(93.6% 0.018 234.5)

  3. Step 200

    200

    #C5DDEC

    oklch(88.4% 0.033 235.2)

  4. Step 300

    300

    #9CC8E2

    oklch(81% 0.059 234.4)

  5. Step 400

    400

    #61AAD3

    oklch(70.7% 0.095 234.9)

  6. Step 500

    500

    #2794C8

    oklch(63.1% 0.122 235)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005679

    oklch(42.8% 0.09 234.7)

  10. Step 900

    900 (this color)

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  11. Step 950

    950

    #072A3B

    oklch(27% 0.05 234.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C4E6C 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)#3F4E6D0.048
Deuteranopia (no green cones)#33456C0.040
Tritanopia (no blue cones)#0056580.049
Achromatopsia (no color)#4949490.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4E6C

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  • #683B19

    #683B19

    oklch(40.1% 0.079 55)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4E6C

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  • #005259

    #005259

    oklch(40% 0.068 204.8)

  • #324673

    #324673

    oklch(40% 0.08 264.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C4E6C

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  • #6C3532

    #6C3532

    oklch(40% 0.079 24.5)

  • #5C4406

    #5C4406

    oklch(40.2% 0.079 84.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4E6C

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  • #68344A

    #68344A

    oklch(39.9% 0.079 354.5)

  • #474C12

    #474C12

    oklch(39.9% 0.079 114.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4E6C

    #0C4E6C

    oklch(40.1% 0.079 234.6)

  • #5D385F

    #5D385F

    oklch(40.1% 0.079 325.1)

  • #683B19

    #683B19

    oklch(40.1% 0.079 55)

  • #2A532C

    #2A532C

    oklch(40.1% 0.079 144.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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