#27313B

Closest named color: Gunmetal (#293241). oklch(30.8% 0.023 248.6), rgb(39, 49, 59).

Aa

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

About this color

#27313B is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.011 away. White text reads best on it, at 13.21:1.

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.58:1
White text13.21:1

Values

HEX#27313B
RGBrgb(39, 49, 59)
HSLhsl(210, 20%, 19%)
OKLCHoklch(30.8% 0.023 248.6)

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 #27313B 13.21:1 AAA Lc -102.8 Preferred for body text
Black text on #27313B 1.58:1 Fails Lc 0.0 Not readable
#27313B text on white 13.21:1 AAA Lc 99.6 Preferred for body text
#27313B 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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D2DAE3

    oklch(88.5% 0.015 251.2)

  4. Step 300

    300

    #B4C3D2

    oklch(81% 0.027 248.2)

  5. Step 400

    400

    #8CA3BB

    oklch(70.6% 0.044 249.6)

  6. Step 500

    500

    #708DAA

    oklch(63.2% 0.055 248.7)

  7. Step 600

    600

    #587795

    oklch(55.7% 0.059 248.1)

  8. Step 700

    700

    #48647F

    oklch(49.2% 0.055 248.1)

  9. Step 800

    800

    #3B5167

    oklch(42.6% 0.046 248.9)

  10. Step 900

    900

    #334354

    oklch(37.6% 0.036 250.3)

  11. Step 950

    950 (this color)

    #27313B

    oklch(30.8% 0.023 248.6)

Export this scale for Tailwind in the Tailwind colors tool

#27313B 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)#2D313B0.010
Deuteranopia (no green cones)#2B2F3B0.009
Tritanopia (no blue cones)#2133340.019
Achromatopsia (no color)#3030300.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #27313B

    #27313B

    oklch(30.8% 0.023 248.6)

  • #382E24

    #382E24

    oklch(30.9% 0.023 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27313B

    #27313B

    oklch(30.8% 0.023 248.6)

  • #233338

    #233338

    oklch(30.9% 0.023 219.1)

  • #2D2F3B

    #2D2F3B

    oklch(30.8% 0.022 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #27313B

    #27313B

    oklch(30.8% 0.023 248.6)

  • #3A2C28

    #3A2C28

    oklch(30.8% 0.022 36.5)

  • #333023

    #333023

    oklch(30.8% 0.023 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27313B

    #27313B

    oklch(30.8% 0.023 248.6)

  • #3A2B2D

    #3A2B2D

    oklch(30.7% 0.022 9.5)

  • #2C3226

    #2C3226

    oklch(30.7% 0.022 129.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27313B

    #27313B

    oklch(30.8% 0.023 248.6)

  • #382C34

    #382C34

    oklch(31% 0.022 338.6)

  • #382E24

    #382E24

    oklch(30.9% 0.023 66.8)

  • #26332C

    #26332C

    oklch(30.7% 0.022 161.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27313B 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.