#281B36

Closest named color: Oxford Blue (#1B263B). oklch(25.2% 0.052 305.1), rgb(40, 27, 54).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.052)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.15:1

Values

HEX#281B36
RGBrgb(40, 27, 54)
HSLhsl(269, 33%, 16%)
OKLCHoklch(25.2% 0.052 305.1)

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 #281B36 16.15:1 AAA Lc -105.6 Preferred for body text
Black text on #281B36 1.30:1 Fails Lc 0.0 Not readable
#281B36 text on white 16.15:1 AAA Lc 103.0 Preferred for body text
#281B36 text on black 1.30: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DED4EC

    oklch(88.5% 0.034 304.5)

  4. Step 300

    300

    #CAB7E1

    oklch(80.9% 0.062 305.6)

  5. Step 400

    400

    #AF91D2

    oklch(70.7% 0.098 305.2)

  6. Step 500

    500

    #9C74C6

    oklch(63.1% 0.126 305.5)

  7. Step 600

    600

    #865BB3

    oklch(55.5% 0.138 304.9)

  8. Step 700

    700

    #724B9A

    oklch(49.2% 0.127 305)

  9. Step 800

    800

    #5D3E7D

    oklch(42.8% 0.105 305.1)

  10. Step 900

    900

    #4C3564

    oklch(37.7% 0.082 305.4)

  11. Step 950

    950 (this color)

    #281B36

    oklch(25.2% 0.052 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#281B36 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)#1420370.037
Deuteranopia (no green cones)#1721350.035
Tritanopia (no blue cones)#261F250.039
Achromatopsia (no color)#2121210.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #281B36

    #281B36

    oklch(25.2% 0.052 305.1)

  • #1C2607

    #1C2607

    oklch(25.1% 0.052 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281B36

    #281B36

    oklch(25.2% 0.052 305.1)

  • #1B1F3B

    #1B1F3B

    oklch(25.1% 0.053 275.7)

  • #31182C

    #31182C

    oklch(25.2% 0.051 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #281B36

    #281B36

    oklch(25.2% 0.052 305.1)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

  • #082917

    #082917

    oklch(25.1% 0.051 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281B36

    #281B36

    oklch(25.2% 0.052 305.1)

  • #331C03

    #331C03

    oklch(25.2% 0.052 64.7)

  • #002925

    #002925

    oklch(25.3% 0.045 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281B36

    #281B36

    oklch(25.2% 0.052 305.1)

  • #371810

    #371810

    oklch(25.2% 0.052 35.5)

  • #1C2607

    #1C2607

    oklch(25.1% 0.052 125.2)

  • #00272F

    #00272F

    oklch(25.1% 0.044 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281B36 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.