#0C5B7D

Closest named color: Deep Sea Blue (#015482). oklch(44.5% 0.089 233.9), rgb(12, 91, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.80:1
White text7.47:1

Values

HEX#0C5B7D
RGBrgb(12, 91, 125)
HSLhsl(198, 82%, 27%)
OKLCHoklch(44.5% 0.089 233.9)

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 #0C5B7D 7.47:1 AAA Lc -90.4 Preferred for body text
Black text on #0C5B7D 2.80:1 Fails Lc 18.5 Dividers and decoration only
#0C5B7D text on white 7.47:1 AAA Lc 85.6 Fine for body text
#0C5B7D text on black 2.80:1 Fails Lc -16.5 Dividers and decoration only

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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A0C7DD

    oklch(80.9% 0.052 233)

  5. Step 400

    400

    #6AA9CD

    oklch(70.6% 0.084 234.8)

  6. Step 500

    500

    #3C94BF

    oklch(63.2% 0.105 233.2)

  7. Step 600

    600

    #057DAC

    oklch(55.6% 0.115 234)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800 (this color)

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  10. Step 900

    900

    #124760

    oklch(37.6% 0.069 233.7)

  11. Step 950

    950

    #0D2A38

    oklch(27% 0.043 232.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C5B7D 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)#4A5A7F0.055
Deuteranopia (no green cones)#3C507C0.046
Tritanopia (no blue cones)#0064670.053
Achromatopsia (no color)#5555550.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5B7D

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  • #79451F

    #79451F

    oklch(44.5% 0.088 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5B7D

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  • #006067

    #006067

    oklch(44.6% 0.076 203.5)

  • #3A5285

    #3A5285

    oklch(44.4% 0.089 264)

Open the analogous palette in the generator

Split complementary

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

  • #0C5B7D

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  • #7E3E3B

    #7E3E3B

    oklch(44.5% 0.089 24.1)

  • #6B4F06

    #6B4F06

    oklch(44.6% 0.089 84.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5B7D

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  • #793D57

    #793D57

    oklch(44.4% 0.089 354)

  • #535915

    #535915

    oklch(44.5% 0.089 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5B7D

    #0C5B7D

    oklch(44.5% 0.089 233.9)

  • #6C426F

    #6C426F

    oklch(44.6% 0.088 324.6)

  • #79451F

    #79451F

    oklch(44.5% 0.088 54.2)

  • #326033

    #326033

    oklch(44.4% 0.088 144.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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