#31545F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.4% 0.044 220), rgb(49, 84, 95).

Aa

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

About this color

#31545F is a dark, muted teal or cyan. In OKLCH its lightness is 42%, its chroma 0.044 and its hue 220°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.028 away. White text reads best on it, at 8.19:1.

Hue familyTeals and cyans
Lightnessdark (42%)
Chromamuted (0.044)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.56:1
White text8.19:1

Values

HEX#31545F
RGBrgb(49, 84, 95)
HSLhsl(194, 32%, 28%)
OKLCHoklch(42.4% 0.044 220)

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 #31545F 8.19:1 AAA Lc -92.9 Preferred for body text
Black text on #31545F 2.56:1 Fails Lc 15.8 Dividers and decoration only
#31545F text on white 8.19:1 AAA Lc 88.2 Fine for body text
#31545F text on black 2.56:1 Fails Lc -13.9 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 800.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #CFDCE0

    oklch(88.6% 0.015 218.1)

  4. Step 300

    300

    #AFC5CC

    oklch(80.9% 0.026 218.9)

  5. Step 400

    400

    #84A7B3

    oklch(70.6% 0.042 220.8)

  6. Step 500

    500

    #6591A0

    oklch(63% 0.053 221.2)

  7. Step 600

    600

    #4B7B8B

    oklch(55.5% 0.058 221.2)

  8. Step 700

    700

    #3C6876

    oklch(49.1% 0.054 220.4)

  9. Step 800

    800 (this color)

    #31545F

    oklch(42.4% 0.044 220)

  10. Step 900

    900

    #2C464E

    oklch(37.7% 0.034 219.2)

  11. Step 950

    950

    #1A292E

    oklch(27% 0.022 220.6)

Export this scale for Tailwind in the Tailwind colors tool

#31545F 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)#4D52600.038
Deuteranopia (no green cones)#464D5F0.033
Tritanopia (no blue cones)#1C58570.029
Achromatopsia (no color)#4F4F4F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #31545F

    #31545F

    oklch(42.4% 0.044 220)

  • #64463C

    #64463C

    oklch(42.4% 0.045 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31545F

    #31545F

    oklch(42.4% 0.044 220)

  • #2F5653

    #2F5653

    oklch(42.3% 0.045 189.3)

  • #3C5066

    #3C5066

    oklch(42.4% 0.044 251.3)

Open the analogous palette in the generator

Split complementary

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

  • #31545F

    #31545F

    oklch(42.4% 0.044 220)

  • #644448

    #644448

    oklch(42.4% 0.045 10.9)

  • #5E4A33

    #5E4A33

    oklch(42.4% 0.045 70.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31545F

    #31545F

    oklch(42.4% 0.044 220)

  • #5F4556

    #5F4556

    oklch(42.5% 0.044 339.8)

  • #544F32

    #544F32

    oklch(42.5% 0.045 99.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31545F

    #31545F

    oklch(42.4% 0.044 220)

  • #564761

    #564761

    oklch(42.3% 0.046 310.6)

  • #64463C

    #64463C

    oklch(42.4% 0.045 39.2)

  • #465339

    #465339

    oklch(42.3% 0.045 129.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31545F 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.