#21283F

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.044 270.5), rgb(33, 40, 63).

Aa

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

About this color

#21283F is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.044 and its hue 270°. 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 14.58:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.044)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.58:1

Values

HEX#21283F
RGBrgb(33, 40, 63)
HSLhsl(226, 31%, 19%)
OKLCHoklch(28.2% 0.044 270.5)

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 #21283F 14.58:1 AAA Lc -104.2 Preferred for body text
Black text on #21283F 1.43:1 Fails Lc 0.0 Not readable
#21283F text on white 14.58:1 AAA Lc 101.4 Preferred for body text
#21283F text on black 1.43: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

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9ED

    oklch(88.6% 0.029 270.4)

  4. Step 300

    300

    #B4C0E3

    oklch(81% 0.051 270.3)

  5. Step 400

    400

    #8D9ED5

    oklch(70.7% 0.083 270.9)

  6. Step 500

    500

    #7186CA

    oklch(63.2% 0.106 270.1)

  7. Step 600

    600

    #5A6EB6

    oklch(55.5% 0.115 270.6)

  8. Step 700

    700

    #4A5C9D

    oklch(49.1% 0.106 270.4)

  9. Step 800

    800

    #3D4B7F

    oklch(42.6% 0.088 270.9)

  10. Step 900

    900

    #343F66

    oklch(37.7% 0.069 270.9)

  11. Step 950

    950 (this color)

    #21283F

    oklch(28.2% 0.044 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#21283F 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)#202A400.006
Deuteranopia (no green cones)#1D283E0.007
Tritanopia (no blue cones)#172D300.040
Achromatopsia (no color)#2929290.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #21283F

    #21283F

    oklch(28.2% 0.044 270.5)

  • #31280D

    #31280D

    oklch(28% 0.044 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21283F

    #21283F

    oklch(28.2% 0.044 270.5)

  • #132C3D

    #132C3D

    oklch(28.2% 0.044 240.5)

  • #2D243C

    #2D243C

    oklch(28.2% 0.045 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #21283F

    #21283F

    oklch(28.2% 0.044 270.5)

  • #392412

    #392412

    oklch(28.2% 0.043 60.3)

  • #262C13

    #262C13

    oklch(28% 0.043 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21283F

    #21283F

    oklch(28.2% 0.044 270.5)

  • #3C211C

    #3C211C

    oklch(28.2% 0.043 31.2)

  • #182F1E

    #182F1E

    oklch(28% 0.043 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21283F

    #21283F

    oklch(28.2% 0.044 270.5)

  • #3B2028

    #3B2028

    oklch(28.2% 0.043 1.1)

  • #31280D

    #31280D

    oklch(28% 0.044 90.9)

  • #0A302A

    #0A302A

    oklch(28.1% 0.043 180.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21283F 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.