#0C5071

Closest named color: Deep Sea Blue (#015482). oklch(40.9% 0.083 236.5), rgb(12, 80, 113).

Aa

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

About this color

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

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

Values

HEX#0C5071
RGBrgb(12, 80, 113)
HSLhsl(200, 81%, 25%)
OKLCHoklch(40.9% 0.083 236.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 #0C5071 8.74:1 AAA Lc -94.1 Preferred for body text
Black text on #0C5071 2.40:1 Fails Lc 14.4 Not readable
#0C5071 text on white 8.74:1 AAA Lc 89.6 Fine for body text
#0C5071 text on black 2.40:1 Fails Lc -12.7 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

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  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

    #70A8CB

    oklch(70.6% 0.078 236.8)

  6. Step 500

    500

    #4792BE

    oklch(63.1% 0.1 237)

  7. Step 600

    600

    #227CAA

    oklch(55.6% 0.108 236.4)

  8. Step 700

    700

    #116892

    oklch(49% 0.101 236.7)

  9. Step 800

    800 (this color)

    #0C5071

    oklch(40.9% 0.083 236.5)

  10. Step 900

    900

    #19465F

    oklch(37.5% 0.065 236.6)

  11. Step 950

    950

    #102938

    oklch(26.9% 0.042 237.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C5071 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)#4050720.048
Deuteranopia (no green cones)#3347700.039
Tritanopia (no blue cones)#00595B0.054
Achromatopsia (no color)#4B4B4B0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5071

    #0C5071

    oklch(40.9% 0.083 236.5)

  • #6B3D16

    #6B3D16

    oklch(40.9% 0.083 57.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5071

    #0C5071

    oklch(40.9% 0.083 236.5)

  • #00545D

    #00545D

    oklch(40.8% 0.07 207.3)

  • #354877

    #354877

    oklch(40.9% 0.083 266.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C5071

    #0C5071

    oklch(40.9% 0.083 236.5)

  • #703631

    #703631

    oklch(40.8% 0.083 26.4)

  • #5E4601

    #5E4601

    oklch(40.9% 0.083 86)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5071

    #0C5071

    oklch(40.9% 0.083 236.5)

  • #6D354B

    #6D354B

    oklch(40.9% 0.084 356.6)

  • #484F12

    #484F12

    oklch(40.8% 0.082 115.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5071

    #0C5071

    oklch(40.9% 0.083 236.5)

  • #613962

    #613962

    oklch(40.9% 0.083 326.1)

  • #6B3D16

    #6B3D16

    oklch(40.9% 0.083 57.3)

  • #28562E

    #28562E

    oklch(40.9% 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 #0C5071, closest first.

Similar named colors

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

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