#212946

Closest named color: Oxford Blue (#1B263B). oklch(28.9% 0.054 271), rgb(33, 41, 70).

Aa

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

About this color

#212946 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.054 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.024 away. White text reads best on it, at 14.28:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.054)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.47:1
White text14.28:1

Values

HEX#212946
RGBrgb(33, 41, 70)
HSLhsl(227, 36%, 20%)
OKLCHoklch(28.9% 0.054 271)

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 #212946 14.28:1 AAA Lc -103.9 Preferred for body text
Black text on #212946 1.47:1 Fails Lc 0.0 Not readable
#212946 text on white 14.28:1 AAA Lc 101.0 Preferred for body text
#212946 text on black 1.47: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B1BFEB

    oklch(80.9% 0.064 271.1)

  5. Step 400

    400

    #899DE1

    oklch(70.7% 0.102 271.1)

  6. Step 500

    500

    #6C83D9

    oklch(63.1% 0.132 270.9)

  7. Step 600

    600

    #556BC6

    oklch(55.6% 0.143 270.9)

  8. Step 700

    700

    #4659AB

    oklch(49.1% 0.132 271)

  9. Step 800

    800

    #39498B

    oklch(42.7% 0.111 270.8)

  10. Step 900

    900

    #313E6F

    oklch(37.8% 0.085 270.7)

  11. Step 950

    950 (this color)

    #212946

    oklch(28.9% 0.054 271)

Export this scale for Tailwind in the Tailwind colors tool

#212946 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)#1E2C470.010
Deuteranopia (no green cones)#1B29450.009
Tritanopia (no blue cones)#132F340.048
Achromatopsia (no color)#2A2A2A0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #212946

    #212946

    oklch(28.9% 0.054 271)

  • #352A05

    #352A05

    oklch(29% 0.054 91.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212946

    #212946

    oklch(28.9% 0.054 271)

  • #0D2E43

    #0D2E43

    oklch(28.8% 0.054 240.5)

  • #302442

    #302442

    oklch(28.9% 0.055 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #212946

    #212946

    oklch(28.9% 0.054 271)

  • #3E240B

    #3E240B

    oklch(28.8% 0.054 61.4)

  • #272F0D

    #272F0D

    oklch(28.9% 0.054 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212946

    #212946

    oklch(28.9% 0.054 271)

  • #42201A

    #42201A

    oklch(28.9% 0.054 31.1)

  • #14331D

    #14331D

    oklch(29% 0.055 151.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212946

    #212946

    oklch(28.9% 0.054 271)

  • #411F29

    #411F29

    oklch(29% 0.054 2.2)

  • #352A05

    #352A05

    oklch(29% 0.054 91.7)

  • #00332C

    #00332C

    oklch(28.8% 0.052 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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