#21233C

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.046 279.3), rgb(33, 35, 60).

Aa

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

About this color

#21233C is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.046 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.014 away. White text reads best on it, at 15.32:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.046)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.32:1

Values

HEX#21233C
RGBrgb(33, 35, 60)
HSLhsl(236, 29%, 18%)
OKLCHoklch(26.7% 0.046 279.3)

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 #21233C 15.32:1 AAA Lc -104.9 Preferred for body text
Black text on #21233C 1.37:1 Fails Lc 0.0 Not readable
#21233C text on white 15.32:1 AAA Lc 102.2 Preferred for body text
#21233C text on black 1.37: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D7EE

    oklch(88.4% 0.032 279.8)

  4. Step 300

    300

    #B8BEE4

    oklch(80.9% 0.054 278.1)

  5. Step 400

    400

    #959BD7

    oklch(70.7% 0.088 279.5)

  6. Step 500

    500

    #7B81CC

    oklch(63% 0.112 279.2)

  7. Step 600

    600

    #656AB9

    oklch(55.7% 0.121 278.9)

  8. Step 700

    700

    #5458A0

    oklch(49.2% 0.114 278.9)

  9. Step 800

    800

    #454881

    oklch(42.7% 0.094 279.4)

  10. Step 900

    900

    #3A3D68

    oklch(37.8% 0.073 279.3)

  11. Step 950

    950 (this color)

    #21233C

    oklch(26.7% 0.046 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#21233C 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)#1B263D0.013
Deuteranopia (no green cones)#19243B0.013
Tritanopia (no blue cones)#19282C0.041
Achromatopsia (no color)#2525250.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #21233C

    #21233C

    oklch(26.7% 0.046 279.3)

  • #2B2608

    #2B2608

    oklch(26.7% 0.046 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21233C

    #21233C

    oklch(26.7% 0.046 279.3)

  • #12273B

    #12273B

    oklch(26.6% 0.046 248.9)

  • #2C1F37

    #2C1F37

    oklch(26.6% 0.047 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #21233C

    #21233C

    oklch(26.7% 0.046 279.3)

  • #342109

    #342109

    oklch(26.6% 0.047 69.5)

  • #1E2A11

    #1E2A11

    oklch(26.6% 0.046 130.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21233C

    #21233C

    oklch(26.7% 0.046 279.3)

  • #391D14

    #391D14

    oklch(26.7% 0.047 38.6)

  • #0E2D1D

    #0E2D1D

    oklch(26.8% 0.048 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21233C

    #21233C

    oklch(26.7% 0.046 279.3)

  • #391C21

    #391C21

    oklch(26.8% 0.046 9.6)

  • #2B2608

    #2B2608

    oklch(26.7% 0.046 99.8)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21233C 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.