#282236

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.037 297.6), rgb(40, 34, 54).

Aa

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

About this color

#282236 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.037 and its hue 298°. 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.30:1.

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

Values

HEX#282236
RGBrgb(40, 34, 54)
HSLhsl(258, 23%, 17%)
OKLCHoklch(26.8% 0.037 297.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 #282236 15.30:1 AAA Lc -104.9 Preferred for body text
Black text on #282236 1.37:1 Fails Lc 0.0 Not readable
#282236 text on white 15.30:1 AAA Lc 102.2 Preferred for body text
#282236 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

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C3BBDA

    oklch(80.8% 0.044 297.2)

  5. Step 400

    400

    #A598C8

    oklch(70.8% 0.07 297)

  6. Step 500

    500

    #907EBA

    oklch(63.2% 0.09 297.5)

  7. Step 600

    600

    #7A66A6

    oklch(55.6% 0.099 297.5)

  8. Step 700

    700

    #67558E

    oklch(49.2% 0.091 297.5)

  9. Step 800

    800

    #544573

    oklch(42.6% 0.076 298.1)

  10. Step 900

    900

    #453B5D

    oklch(37.8% 0.058 297.1)

  11. Step 950

    950 (this color)

    #282236

    oklch(26.8% 0.037 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#282236 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)#1D25370.020
Deuteranopia (no green cones)#1E25350.020
Tritanopia (no blue cones)#2525290.030
Achromatopsia (no color)#2525250.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #242813

    #242813

    oklch(26.7% 0.036 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #1E2538

    #1E2538

    oklch(26.7% 0.037 268.3)

  • #301F2F

    #301F2F

    oklch(26.7% 0.038 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #2E250F

    #2E250F

    oklch(26.9% 0.038 87.5)

  • #192B1B

    #192B1B

    oklch(26.8% 0.038 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #342113

    #342113

    oklch(26.8% 0.038 56.7)

  • #0E2C26

    #0E2C26

    oklch(26.8% 0.038 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282236

    #282236

    oklch(26.8% 0.037 297.6)

  • #361F1C

    #361F1C

    oklch(26.8% 0.037 27.8)

  • #242813

    #242813

    oklch(26.7% 0.036 117.8)

  • #0B2B2F

    #0B2B2F

    oklch(26.8% 0.037 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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