#1F5F76

Closest named color: Petrol (#005F6A). oklch(45.6% 0.073 226), rgb(31, 95, 118).

Aa

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

About this color

#1F5F76 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 46%, its chroma 0.073 and its hue 226°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.026 away. White text reads best on it, at 7.10:1.

Hue familyTeals and cyans
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.95:1
White text7.10:1

Values

HEX#1F5F76
RGBrgb(31, 95, 118)
HSLhsl(196, 58%, 29%)
OKLCHoklch(45.6% 0.073 226)

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 #1F5F76 7.10:1 AAA Lc -89.3 Fine for body text
Black text on #1F5F76 2.95:1 Fails Lc 19.7 Dividers and decoration only
#1F5F76 text on white 7.10:1 AAA Lc 84.4 Fine for body text
#1F5F76 text on black 2.95:1 Fails Lc -17.6 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF0

    oklch(93.7% 0.012 223.5)

  3. Step 200

    200

    #C9DDE5

    oklch(88.5% 0.024 223.7)

  4. Step 300

    300

    #A4C7D6

    oklch(80.9% 0.043 225.7)

  5. Step 400

    400

    #71AAC1

    oklch(70.7% 0.068 225.3)

  6. Step 500

    500

    #4794B2

    oklch(63% 0.088 226.3)

  7. Step 600

    600

    #227E9E

    oklch(55.5% 0.096 226.4)

  8. Step 700

    700

    #126A87

    oklch(49% 0.089 226.5)

  9. Step 800

    800 (this color)

    #1F5F76

    oklch(45.6% 0.073 226)

  10. Step 900

    900

    #1A4859

    oklch(37.8% 0.057 225.8)

  11. Step 950

    950

    #112A34

    oklch(27% 0.036 226.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F5F76 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)#525D770.055
Deuteranopia (no green cones)#4754760.050
Tritanopia (no blue cones)#0066660.042
Achromatopsia (no color)#5858580.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5F76

    #1F5F76

    oklch(45.6% 0.073 226)

  • #784933

    #784933

    oklch(45.5% 0.073 45.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5F76

    #1F5F76

    oklch(45.6% 0.073 226)

  • #0F6364

    #0F6364

    oklch(45.5% 0.073 196.2)

  • #3B587F

    #3B587F

    oklch(45.5% 0.073 256.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F5F76

    #1F5F76

    oklch(45.6% 0.073 226)

  • #7A4549

    #7A4549

    oklch(45.5% 0.073 15.5)

  • #6E5123

    #6E5123

    oklch(45.6% 0.073 76.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5F76

    #1F5F76

    oklch(45.6% 0.073 226)

  • #744660

    #744660

    oklch(45.6% 0.073 345.4)

  • #5C5925

    #5C5925

    oklch(45.5% 0.073 105.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5F76

    #1F5F76

    oklch(45.6% 0.073 226)

  • #674A73

    #674A73

    oklch(45.7% 0.074 315.7)

  • #784933

    #784933

    oklch(45.5% 0.073 45.5)

  • #446036

    #446036

    oklch(45.5% 0.073 135.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F5F76 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.