#31404F

Closest named color: Charcoal (#264653). oklch(36.5% 0.033 248.7), rgb(49, 64, 79).

Aa

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

About this color

#31404F is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.033 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.021 away. White text reads best on it, at 10.62:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.033)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.97:1
White text10.62:1

Values

HEX#31404F
RGBrgb(49, 64, 79)
HSLhsl(210, 23%, 25%)
OKLCHoklch(36.5% 0.033 248.7)

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 #31404F 10.62:1 AAA Lc -98.6 Preferred for body text
Black text on #31404F 1.97:1 Fails Lc 9.3 Not readable
#31404F text on white 10.62:1 AAA Lc 94.6 Preferred for body text
#31404F text on black 1.97:1 Fails Lc -8.0 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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B5C2D0

    oklch(80.8% 0.024 250.1)

  5. Step 400

    400

    #8EA3B8

    oklch(70.6% 0.039 248.4)

  6. Step 500

    500

    #728CA7

    oklch(63% 0.051 249.6)

  7. Step 600

    600

    #5A7692

    oklch(55.5% 0.055 248.8)

  8. Step 700

    700

    #4A637C

    oklch(49% 0.05 248.9)

  9. Step 800

    800

    #3D5165

    oklch(42.7% 0.042 248.8)

  10. Step 900

    900 (this color)

    #31404F

    oklch(36.5% 0.033 248.7)

  11. Step 950

    950

    #1F2730

    oklch(26.9% 0.02 251.6)

Export this scale for Tailwind in the Tailwind colors tool

#31404F 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)#3A40500.014
Deuteranopia (no green cones)#373D4F0.012
Tritanopia (no blue cones)#2743450.027
Achromatopsia (no color)#3E3E3E0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #31404F

    #31404F

    oklch(36.5% 0.033 248.7)

  • #4A3B2C

    #4A3B2C

    oklch(36.4% 0.032 66.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31404F

    #31404F

    oklch(36.5% 0.033 248.7)

  • #2A434A

    #2A434A

    oklch(36.6% 0.033 217.3)

  • #3A3D50

    #3A3D50

    oklch(36.5% 0.033 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #31404F

    #31404F

    oklch(36.5% 0.033 248.7)

  • #4E3932

    #4E3932

    oklch(36.6% 0.032 39.2)

  • #433F2B

    #433F2B

    oklch(36.6% 0.033 98.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31404F

    #31404F

    oklch(36.5% 0.033 248.7)

  • #4E373B

    #4E373B

    oklch(36.4% 0.033 7.3)

  • #394230

    #394230

    oklch(36.5% 0.032 129.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31404F

    #31404F

    oklch(36.5% 0.033 248.7)

  • #4A3844

    #4A3844

    oklch(36.5% 0.032 338.9)

  • #4A3B2C

    #4A3B2C

    oklch(36.4% 0.032 66.5)

  • #304438

    #304438

    oklch(36.6% 0.033 158)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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