#273340

Closest named color: Gunmetal (#293241). oklch(31.6% 0.028 250.8), rgb(39, 51, 64).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.63:1
White text12.85:1

Values

HEX#273340
RGBrgb(39, 51, 64)
HSLhsl(211, 24%, 20%)
OKLCHoklch(31.6% 0.028 250.8)

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 #273340 12.85:1 AAA Lc -102.3 Preferred for body text
Black text on #273340 1.63:1 Fails Lc 0.0 Not readable
#273340 text on white 12.85:1 AAA Lc 99.0 Preferred for body text
#273340 text on black 1.63: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  3. Step 200

    200

    #D0DAE5

    oklch(88.4% 0.019 250.6)

  4. Step 300

    300

    #B1C3D6

    oklch(81% 0.033 249.7)

  5. Step 400

    400

    #88A4C2

    oklch(70.8% 0.054 250.4)

  6. Step 500

    500

    #6A8DB2

    oklch(63.1% 0.068 250.3)

  7. Step 600

    600

    #51769E

    oklch(55.5% 0.075 251.2)

  8. Step 700

    700

    #426387

    oklch(49% 0.07 251.4)

  9. Step 800

    800

    #36516E

    oklch(42.6% 0.059 251)

  10. Step 900

    900

    #2F4359

    oklch(37.6% 0.046 251.4)

  11. Step 950

    950 (this color)

    #273340

    oklch(31.6% 0.028 250.8)

Export this scale for Tailwind in the Tailwind colors tool

#273340 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)#2E33410.011
Deuteranopia (no green cones)#2B31400.009
Tritanopia (no blue cones)#1F36370.025
Achromatopsia (no color)#3232320.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #273340

    #273340

    oklch(31.6% 0.028 250.8)

  • #3B2F22

    #3B2F22

    oklch(31.5% 0.028 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #273340

    #273340

    oklch(31.6% 0.028 250.8)

  • #21353C

    #21353C

    oklch(31.5% 0.029 221.9)

  • #2F3040

    #2F3040

    oklch(31.5% 0.029 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #273340

    #273340

    oklch(31.6% 0.028 250.8)

  • #3F2D27

    #3F2D27

    oklch(31.6% 0.029 39.2)

  • #353221

    #353221

    oklch(31.5% 0.029 99.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #273340

    #273340

    oklch(31.6% 0.028 250.8)

  • #3F2C2E

    #3F2C2E

    oklch(31.6% 0.028 11.8)

  • #2D3526

    #2D3526

    oklch(31.6% 0.028 130.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #273340

    #273340

    oklch(31.6% 0.028 250.8)

  • #3C2C36

    #3C2C36

    oklch(31.5% 0.029 341)

  • #3B2F22

    #3B2F22

    oklch(31.5% 0.028 68.8)

  • #25362D

    #25362D

    oklch(31.5% 0.028 161.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #273340 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.