#212939

Closest named color: Oxford Blue (#1B263B). oklch(28.1% 0.032 263.9), rgb(33, 41, 57).

Aa

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

About this color

#212939 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.032 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.016 away. White text reads best on it, at 14.57:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.032)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.57:1

Values

HEX#212939
RGBrgb(33, 41, 57)
HSLhsl(220, 27%, 18%)
OKLCHoklch(28.1% 0.032 263.9)

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 #212939 14.57:1 AAA Lc -104.2 Preferred for body text
Black text on #212939 1.44:1 Fails Lc 0.0 Not readable
#212939 text on white 14.57:1 AAA Lc 101.4 Preferred for body text
#212939 text on black 1.44: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D2D9E7

    oklch(88.4% 0.021 264.5)

  4. Step 300

    300

    #B4C1DA

    oklch(80.9% 0.038 263.6)

  5. Step 400

    400

    #8DA1C7

    oklch(70.7% 0.06 263.1)

  6. Step 500

    500

    #7289B9

    oklch(63.1% 0.077 264.5)

  7. Step 600

    600

    #5A73A5

    oklch(55.7% 0.084 263.5)

  8. Step 700

    700

    #4A608D

    oklch(49.1% 0.077 263.8)

  9. Step 800

    800

    #3D4E73

    oklch(42.6% 0.066 264.9)

  10. Step 900

    900

    #34415D

    oklch(37.7% 0.051 264.9)

  11. Step 950

    950 (this color)

    #212939

    oklch(28.1% 0.032 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#212939 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)#242A3A0.006
Deuteranopia (no green cones)#2128390.003
Tritanopia (no blue cones)#1A2C2E0.028
Achromatopsia (no color)#2929290.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #212939

    #212939

    oklch(28.1% 0.032 263.9)

  • #312816

    #312816

    oklch(28.2% 0.033 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212939

    #212939

    oklch(28.1% 0.032 263.9)

  • #192C36

    #192C36

    oklch(28.2% 0.031 232.4)

  • #2A2637

    #2A2637

    oklch(28.1% 0.031 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #212939

    #212939

    oklch(28.1% 0.032 263.9)

  • #36251A

    #36251A

    oklch(28.2% 0.032 53.9)

  • #292B18

    #292B18

    oklch(28.1% 0.032 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212939

    #212939

    oklch(28.1% 0.032 263.9)

  • #372321

    #372321

    oklch(28% 0.031 25.6)

  • #1F2D1F

    #1F2D1F

    oklch(28% 0.032 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212939

    #212939

    oklch(28.1% 0.032 263.9)

  • #36232A

    #36232A

    oklch(28.2% 0.031 355.5)

  • #312816

    #312816

    oklch(28.2% 0.033 83.9)

  • #172E28

    #172E28

    oklch(28% 0.031 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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