#1F4E5B

Closest named color: Charcoal (#264653). oklch(39.7% 0.055 218.9), rgb(31, 78, 91).

Aa

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

About this color

#1F4E5B is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.055 and its hue 219°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.026 away. White text reads best on it, at 9.13:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.055)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text2.29:1
White text9.13:1

Values

HEX#1F4E5B
RGBrgb(31, 78, 91)
HSLhsl(193, 49%, 24%)
OKLCHoklch(39.7% 0.055 218.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 #1F4E5B 9.13:1 AAA Lc -95.2 Preferred for body text
Black text on #1F4E5B 2.29:1 Fails Lc 13.1 Not readable
#1F4E5B text on white 9.13:1 AAA Lc 90.8 Preferred for body text
#1F4E5B text on black 2.29:1 Fails Lc -11.5 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #C9DDE3

    oklch(88.4% 0.023 217.7)

  4. Step 300

    300

    #A4C8D3

    oklch(81% 0.041 218.3)

  5. Step 400

    400

    #70ABBD

    oklch(70.7% 0.067 219.1)

  6. Step 500

    500

    #4696AC

    oklch(63.2% 0.084 218.5)

  7. Step 600

    600

    #1F8097

    oklch(55.7% 0.091 218)

  8. Step 700

    700

    #0E6C81

    oklch(49.2% 0.085 218.3)

  9. Step 800

    800

    #125869

    oklch(42.7% 0.071 218.6)

  10. Step 900

    900 (this color)

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  11. Step 950

    950

    #102A32

    oklch(26.8% 0.035 220.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E5B 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)#464C5C0.047
Deuteranopia (no green cones)#3D455B0.043
Tritanopia (no blue cones)#0052520.029
Achromatopsia (no color)#4848480.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E5B

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  • #613C31

    #613C31

    oklch(39.7% 0.056 37.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E5B

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  • #1D504D

    #1D504D

    oklch(39.6% 0.054 189.9)

  • #2F4963

    #2F4963

    oklch(39.6% 0.055 249.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E5B

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  • #613A41

    #613A41

    oklch(39.7% 0.056 8.3)

  • #5A4125

    #5A4125

    oklch(39.6% 0.054 68.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E5B

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  • #5B3B51

    #5B3B51

    oklch(39.7% 0.056 338.9)

  • #4E4723

    #4E4723

    oklch(39.6% 0.054 98.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E5B

    #1F4E5B

    oklch(39.7% 0.055 218.9)

  • #503F5E

    #503F5E

    oklch(39.9% 0.055 309.1)

  • #613C31

    #613C31

    oklch(39.7% 0.056 37.3)

  • #3E4D2C

    #3E4D2C

    oklch(39.8% 0.056 128.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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