#1F4E52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.3% 0.051 202.9), rgb(31, 78, 82).

Aa

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

About this color

#1F4E52 is a dark, muted teal or cyan. In OKLCH its lightness is 39%, its chroma 0.051 and its hue 203°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.017 away. White text reads best on it, at 9.25:1.

Hue familyTeals and cyans
Lightnessdark (39%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.26:1
White text9.25:1

Values

HEX#1F4E52
RGBrgb(31, 78, 82)
HSLhsl(185, 45%, 22%)
OKLCHoklch(39.3% 0.051 202.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 #1F4E52 9.25:1 AAA Lc -95.5 Preferred for body text
Black text on #1F4E52 2.26:1 Fails Lc 12.8 Not readable
#1F4E52 text on white 9.25:1 AAA Lc 91.2 Preferred for body text
#1F4E52 text on black 2.26:1 Fails Lc -11.2 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 900.

  1. Step 50

    50

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E2ECED

    oklch(93.6% 0.011 204.1)

  3. Step 200

    200

    #CADEDF

    oklch(88.6% 0.021 200.4)

  4. Step 300

    300

    #A5C8CB

    oklch(80.8% 0.038 202.8)

  5. Step 400

    400

    #72ACB1

    oklch(70.6% 0.061 202.7)

  6. Step 500

    500

    #48989E

    oklch(63.2% 0.078 201.9)

  7. Step 600

    600

    #228289

    oklch(55.7% 0.085 202.3)

  8. Step 700

    700

    #126E74

    oklch(49.2% 0.079 201.9)

  9. Step 800

    800

    #14595F

    oklch(42.6% 0.066 203.7)

  10. Step 900

    900 (this color)

    #1F4E52

    oklch(39.3% 0.051 202.9)

  11. Step 950

    950

    #112B2D

    oklch(27% 0.032 202.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E52 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)#484B520.051
Deuteranopia (no green cones)#4045520.047
Tritanopia (no blue cones)#00514F0.020
Achromatopsia (no color)#4747470.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E52

    #1F4E52

    oklch(39.3% 0.051 202.9)

  • #5F3B39

    #5F3B39

    oklch(39.4% 0.051 23.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E52

    #1F4E52

    oklch(39.3% 0.051 202.9)

  • #264F43

    #264F43

    oklch(39.4% 0.051 172.4)

  • #284B5D

    #284B5D

    oklch(39.4% 0.051 232.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E52

    #1F4E52

    oklch(39.3% 0.051 202.9)

  • #5C3A48

    #5C3A48

    oklch(39.3% 0.052 353.4)

  • #5C3E2C

    #5C3E2C

    oklch(39.3% 0.051 51.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E52

    #1F4E52

    oklch(39.3% 0.051 202.9)

  • #533D56

    #533D56

    oklch(39.4% 0.05 322.4)

  • #534325

    #534325

    oklch(39.2% 0.05 82.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E52

    #1F4E52

    oklch(39.3% 0.051 202.9)

  • #47415F

    #47415F

    oklch(39.4% 0.051 293.1)

  • #5F3B39

    #5F3B39

    oklch(39.4% 0.051 23.1)

  • #464928

    #464928

    oklch(39.4% 0.051 113)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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