#0D5871

Closest named color: Petrol (#005F6A). oklch(43% 0.078 226.8), rgb(13, 88, 113).

Aa

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

About this color

#0D5871 is a dark, moderately saturated teal or cyan. In OKLCH its lightness is 43%, its chroma 0.078 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.028 away. White text reads best on it, at 7.92:1.

Hue familyTeals and cyans
Lightnessdark (43%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.65:1
White text7.92:1

Values

HEX#0D5871
RGBrgb(13, 88, 113)
HSLhsl(195, 79%, 25%)
OKLCHoklch(43% 0.078 226.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 #0D5871 7.92:1 AAA Lc -91.8 Preferred for body text
Black text on #0D5871 2.65:1 Fails Lc 16.9 Dividers and decoration only
#0D5871 text on white 7.92:1 AAA Lc 87.1 Fine for body text
#0D5871 text on black 2.65:1 Fails Lc -15.0 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

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE6

    oklch(88.5% 0.026 225.3)

  4. Step 300

    300

    #A2C7D8

    oklch(80.8% 0.046 227.5)

  5. Step 400

    400

    #6DAAC4

    oklch(70.6% 0.074 226.9)

  6. Step 500

    500

    #4195B5

    oklch(63.2% 0.094 226.3)

  7. Step 600

    600

    #167FA1

    oklch(55.7% 0.101 226.3)

  8. Step 700

    700

    #006B8A

    oklch(49.2% 0.095 226.5)

  9. Step 800

    800 (this color)

    #0D5871

    oklch(43% 0.078 226.8)

  10. Step 900

    900

    #16485B

    oklch(37.8% 0.061 227.3)

  11. Step 950

    950

    #0F2A35

    oklch(27% 0.038 227.5)

Export this scale for Tailwind in the Tailwind colors tool

#0D5871 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)#4B56720.058
Deuteranopia (no green cones)#3E4D710.050
Tritanopia (no blue cones)#005F600.042
Achromatopsia (no color)#5151510.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D5871

    #0D5871

    oklch(43% 0.078 226.8)

  • #734128

    #734128

    oklch(43% 0.079 46.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D5871

    #0D5871

    oklch(43% 0.078 226.8)

  • #005C5E

    #005C5E

    oklch(43.1% 0.073 197.4)

  • #33517A

    #33517A

    oklch(43.1% 0.077 256.5)

Open the analogous palette in the generator

Split complementary

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

  • #0D5871

    #0D5871

    oklch(43% 0.078 226.8)

  • #753D40

    #753D40

    oklch(43.1% 0.078 17.5)

  • #684915

    #684915

    oklch(42.9% 0.079 76.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D5871

    #0D5871

    oklch(43% 0.078 226.8)

  • #6F3D58

    #6F3D58

    oklch(43% 0.079 347.3)

  • #555318

    #555318

    oklch(43.2% 0.079 107.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D5871

    #0D5871

    oklch(43% 0.078 226.8)

  • #61426C

    #61426C

    oklch(43.1% 0.077 316.9)

  • #734128

    #734128

    oklch(43% 0.079 46.5)

  • #3B5A2D

    #3B5A2D

    oklch(43.1% 0.079 136.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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