#0C4F70

Closest named color: Deep Sea Blue (#015482). oklch(40.6% 0.083 236.8), rgb(12, 79, 112).

Aa

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

About this color

#0C4F70 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.083 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.031 away. White text reads best on it, at 8.86:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.36:1
White text8.86:1

Values

HEX#0C4F70
RGBrgb(12, 79, 112)
HSLhsl(200, 81%, 24%)
OKLCHoklch(40.6% 0.083 236.8)

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 #0C4F70 8.86:1 AAA Lc -94.4 Preferred for body text
Black text on #0C4F70 2.36:1 Fails Lc 14.1 Not readable
#0C4F70 text on white 8.86:1 AAA Lc 89.9 Fine for body text
#0C4F70 text on black 2.36:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #C9DCE9

    oklch(88.4% 0.027 237.6)

  4. Step 300

    300

    #A4C6DC

    oklch(80.9% 0.048 236.6)

  5. Step 400

    400

    #71A8CB

    oklch(70.7% 0.077 237.3)

  6. Step 500

    500

    #4792BE

    oklch(63.1% 0.1 237)

  7. Step 600

    600

    #237CAA

    oklch(55.7% 0.107 236.6)

  8. Step 700

    700

    #136892

    oklch(49.1% 0.1 236.9)

  9. Step 800

    800 (this color)

    #0C4F70

    oklch(40.6% 0.083 236.8)

  10. Step 900

    900

    #1A465F

    oklch(37.6% 0.064 237)

  11. Step 950

    950

    #112938

    oklch(26.9% 0.041 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C4F70 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)#3F4F710.047
Deuteranopia (no green cones)#32466F0.038
Tritanopia (no blue cones)#00575A0.052
Achromatopsia (no color)#4A4A4A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4F70

    #0C4F70

    oklch(40.6% 0.083 236.8)

  • #6A3C15

    #6A3C15

    oklch(40.5% 0.083 57.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4F70

    #0C4F70

    oklch(40.6% 0.083 236.8)

  • #00535C

    #00535C

    oklch(40.4% 0.069 207.4)

  • #354776

    #354776

    oklch(40.6% 0.083 266.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C4F70

    #0C4F70

    oklch(40.6% 0.083 236.8)

  • #6F3630

    #6F3630

    oklch(40.6% 0.082 27.5)

  • #5D4500

    #5D4500

    oklch(40.5% 0.083 85.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4F70

    #0C4F70

    oklch(40.6% 0.083 236.8)

  • #6C344A

    #6C344A

    oklch(40.5% 0.084 356.6)

  • #464F11

    #464F11

    oklch(40.6% 0.084 117.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4F70

    #0C4F70

    oklch(40.6% 0.083 236.8)

  • #603861

    #603861

    oklch(40.5% 0.083 326.1)

  • #6A3C15

    #6A3C15

    oklch(40.5% 0.083 57.1)

  • #27552D

    #27552D

    oklch(40.6% 0.083 146.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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