#282237

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.039 296.8), rgb(40, 34, 55).

Aa

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

About this color

#282237 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.039 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.024 away. White text reads best on it, at 15.28:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.039)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.28:1

Values

HEX#282237
RGBrgb(40, 34, 55)
HSLhsl(257, 24%, 17%)
OKLCHoklch(26.9% 0.039 296.8)

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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C3BBDC

    oklch(80.9% 0.047 296.4)

  5. Step 400

    400

    #A597CA

    oklch(70.7% 0.075 297)

  6. Step 500

    500

    #8F7DBC

    oklch(63.1% 0.095 296.7)

  7. Step 600

    600

    #7A66A8

    oklch(55.7% 0.102 296.9)

  8. Step 700

    700

    #675490

    oklch(49.1% 0.096 297.3)

  9. Step 800

    800

    #544575

    oklch(42.7% 0.079 297.3)

  10. Step 900

    900

    #453A5E

    oklch(37.6% 0.062 297.4)

  11. Step 950

    950 (this color)

    #282237

    oklch(26.9% 0.039 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#282237 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)#1D25380.020
Deuteranopia (no green cones)#1E25360.020
Tritanopia (no blue cones)#25252A0.030
Achromatopsia (no color)#2525250.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #282237

    #282237

    oklch(26.9% 0.039 296.8)

  • #252912

    #252912

    oklch(27% 0.039 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282237

    #282237

    oklch(26.9% 0.039 296.8)

  • #1D2539

    #1D2539

    oklch(26.7% 0.039 267.1)

  • #301F30

    #301F30

    oklch(26.8% 0.039 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #282237

    #282237

    oklch(26.9% 0.039 296.8)

  • #2E250E

    #2E250E

    oklch(26.9% 0.039 88.3)

  • #192B1B

    #192B1B

    oklch(26.8% 0.038 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282237

    #282237

    oklch(26.9% 0.039 296.8)

  • #352112

    #352112

    oklch(26.9% 0.04 56.9)

  • #0D2C26

    #0D2C26

    oklch(26.8% 0.038 178.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282237

    #282237

    oklch(26.9% 0.039 296.8)

  • #371E1C

    #371E1C

    oklch(26.8% 0.04 25)

  • #252912

    #252912

    oklch(27% 0.039 117.2)

  • #092B30

    #092B30

    oklch(26.8% 0.039 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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