#24313F

Closest named color: Gunmetal (#293241). oklch(30.8% 0.031 250.7), rgb(36, 49, 63).

Aa

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

About this color

#24313F is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.031 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.009 away. White text reads best on it, at 13.23:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.031)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.58:1
White text13.23:1

Values

HEX#24313F
RGBrgb(36, 49, 63)
HSLhsl(211, 27%, 19%)
OKLCHoklch(30.8% 0.031 250.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 #24313F 13.23:1 AAA Lc -102.8 Preferred for body text
Black text on #24313F 1.58:1 Fails Lc 0.0 Not readable
#24313F text on white 13.23:1 AAA Lc 99.6 Preferred for body text
#24313F text on black 1.58:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B0C3D8

    oklch(80.9% 0.036 250.9)

  5. Step 400

    400

    #86A4C4

    oklch(70.8% 0.058 250.3)

  6. Step 500

    500

    #678DB6

    oklch(63.1% 0.075 250.9)

  7. Step 600

    600

    #4E77A1

    oklch(55.7% 0.08 250)

  8. Step 700

    700

    #3F648A

    oklch(49.2% 0.075 250.2)

  9. Step 800

    800

    #345170

    oklch(42.6% 0.062 251)

  10. Step 900

    900

    #2E435B

    oklch(37.6% 0.049 252.4)

  11. Step 950

    950 (this color)

    #24313F

    oklch(30.8% 0.031 250.7)

Export this scale for Tailwind in the Tailwind colors tool

#24313F 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)#2C31400.013
Deuteranopia (no green cones)#282F3F0.009
Tritanopia (no blue cones)#1B34360.026
Achromatopsia (no color)#3030300.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #24313F

    #24313F

    oklch(30.8% 0.031 250.7)

  • #3A2D1E

    #3A2D1E

    oklch(30.7% 0.031 70.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24313F

    #24313F

    oklch(30.8% 0.031 250.7)

  • #1D333B

    #1D333B

    oklch(30.6% 0.031 223.1)

  • #2D2E3F

    #2D2E3F

    oklch(30.8% 0.031 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #24313F

    #24313F

    oklch(30.8% 0.031 250.7)

  • #3E2B24

    #3E2B24

    oklch(30.9% 0.031 41.1)

  • #33301E

    #33301E

    oklch(30.7% 0.03 99.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24313F

    #24313F

    oklch(30.8% 0.031 250.7)

  • #3E292C

    #3E292C

    oklch(30.7% 0.032 9.7)

  • #2A3323

    #2A3323

    oklch(30.7% 0.03 131.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24313F

    #24313F

    oklch(30.8% 0.031 250.7)

  • #3B2A34

    #3B2A34

    oklch(30.9% 0.03 342.9)

  • #3A2D1E

    #3A2D1E

    oklch(30.7% 0.031 70.2)

  • #22352B

    #22352B

    oklch(30.9% 0.031 160.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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