#212A3E

Closest named color: Oxford Blue (#1B263B). oklch(28.6% 0.039 265.4), rgb(33, 42, 62).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.039)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.46:1
White text14.33:1

Values

HEX#212A3E
RGBrgb(33, 42, 62)
HSLhsl(221, 31%, 19%)
OKLCHoklch(28.6% 0.039 265.4)

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 #212A3E 14.33:1 AAA Lc -104.0 Preferred for body text
Black text on #212A3E 1.46:1 Fails Lc 0.0 Not readable
#212A3E text on white 14.33:1 AAA Lc 101.0 Preferred for body text
#212A3E text on black 1.46: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B2C1DF

    oklch(80.9% 0.046 264.3)

  5. Step 400

    400

    #8AA0D0

    oklch(70.7% 0.075 265.4)

  6. Step 500

    500

    #6E88C3

    oklch(63.1% 0.094 265.6)

  7. Step 600

    600

    #5671B0

    oklch(55.6% 0.103 265.6)

  8. Step 700

    700

    #465F97

    oklch(49.2% 0.095 264.9)

  9. Step 800

    800

    #3A4D7A

    oklch(42.6% 0.079 265.8)

  10. Step 900

    900

    #324163

    oklch(37.8% 0.062 265.4)

  11. Step 950

    950 (this color)

    #212A3E

    oklch(28.6% 0.039 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#212A3E 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)#232C3F0.008
Deuteranopia (no green cones)#20293E0.004
Tritanopia (no blue cones)#172E310.035
Achromatopsia (no color)#2A2A2A0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #212A3E

    #212A3E

    oklch(28.6% 0.039 265.4)

  • #332912

    #332912

    oklch(28.6% 0.04 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212A3E

    #212A3E

    oklch(28.6% 0.039 265.4)

  • #162D3B

    #162D3B

    oklch(28.5% 0.039 237)

  • #2C263C

    #2C263C

    oklch(28.6% 0.04 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #212A3E

    #212A3E

    oklch(28.6% 0.039 265.4)

  • #392517

    #392517

    oklch(28.5% 0.039 55.5)

  • #2A2D15

    #2A2D15

    oklch(28.7% 0.04 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212A3E

    #212A3E

    oklch(28.6% 0.039 265.4)

  • #3C2320

    #3C2320

    oklch(28.7% 0.039 27.2)

  • #1E301E

    #1E301E

    oklch(28.8% 0.04 144.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212A3E

    #212A3E

    oklch(28.6% 0.039 265.4)

  • #3A222B

    #3A222B

    oklch(28.6% 0.039 355.8)

  • #332912

    #332912

    oklch(28.6% 0.04 86.3)

  • #123129

    #123129

    oklch(28.7% 0.04 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #212A3E 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.