#212A3D

Closest named color: Oxford Blue (#1B263B). oklch(28.6% 0.037 264.6), rgb(33, 42, 61).

Aa

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

About this color

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

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

Values

HEX#212A3D
RGBrgb(33, 42, 61)
HSLhsl(221, 30%, 18%)
OKLCHoklch(28.6% 0.037 264.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 #212A3D 14.35:1 AAA Lc -104.0 Preferred for body text
Black text on #212A3D 1.46:1 Fails Lc 0.0 Not readable
#212A3D text on white 14.35:1 AAA Lc 101.1 Preferred for body text
#212A3D 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

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D1D9EA

    oklch(88.4% 0.025 265.6)

  4. Step 300

    300

    #B3C1DE

    oklch(81% 0.044 264.9)

  5. Step 400

    400

    #8BA0CE

    oklch(70.6% 0.072 265.5)

  6. Step 500

    500

    #6E89C1

    oklch(63.2% 0.09 264.2)

  7. Step 600

    600

    #5672AD

    oklch(55.6% 0.098 264.1)

  8. Step 700

    700

    #475F95

    oklch(49.1% 0.092 265)

  9. Step 800

    800

    #3A4E79

    oklch(42.8% 0.076 264.4)

  10. Step 900

    900

    #324161

    oklch(37.7% 0.059 264.6)

  11. Step 950

    950 (this color)

    #212A3D

    oklch(28.6% 0.037 264.6)

Export this scale for Tailwind in the Tailwind colors tool

#212A3D 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)#232B3E0.005
Deuteranopia (no green cones)#21293D0.003
Tritanopia (no blue cones)#182E310.033
Achromatopsia (no color)#2A2A2A0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #212A3D

    #212A3D

    oklch(28.6% 0.037 264.6)

  • #332914

    #332914

    oklch(28.7% 0.037 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212A3D

    #212A3D

    oklch(28.6% 0.037 264.6)

  • #162D3A

    #162D3A

    oklch(28.5% 0.038 235)

  • #2B273B

    #2B273B

    oklch(28.6% 0.036 293.1)

Open the analogous palette in the generator

Split complementary

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

  • #212A3D

    #212A3D

    oklch(28.6% 0.037 264.6)

  • #392518

    #392518

    oklch(28.6% 0.038 53.7)

  • #2A2C16

    #2A2C16

    oklch(28.5% 0.037 113)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212A3D

    #212A3D

    oklch(28.6% 0.037 264.6)

  • #3B2321

    #3B2321

    oklch(28.6% 0.037 24.9)

  • #1E2F1F

    #1E2F1F

    oklch(28.5% 0.037 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212A3D

    #212A3D

    oklch(28.6% 0.037 264.6)

  • #39222B

    #39222B

    oklch(28.5% 0.038 354.7)

  • #332914

    #332914

    oklch(28.7% 0.037 84.6)

  • #143029

    #143029

    oklch(28.5% 0.037 175.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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