#281C39

Closest named color: Oxford Blue (#1B263B). oklch(25.6% 0.055 301.7), rgb(40, 28, 57).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.055)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text15.96:1

Values

HEX#281C39
RGBrgb(40, 28, 57)
HSLhsl(265, 34%, 17%)
OKLCHoklch(25.6% 0.055 301.7)

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 #281C39 15.96:1 AAA Lc -105.4 Preferred for body text
Black text on #281C39 1.31:1 Fails Lc 0.0 Not readable
#281C39 text on white 15.96:1 AAA Lc 102.8 Preferred for body text
#281C39 text on black 1.31: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EE

    oklch(88.5% 0.037 301.4)

  4. Step 300

    300

    #C8B7E4

    oklch(80.8% 0.065 302.2)

  5. Step 400

    400

    #AC91D7

    oklch(70.7% 0.104 301.5)

  6. Step 500

    500

    #9874CC

    oklch(63% 0.133 301.6)

  7. Step 600

    600

    #835BB9

    oklch(55.6% 0.145 301.5)

  8. Step 700

    700

    #6F4A9F

    oklch(49% 0.135 301.7)

  9. Step 800

    800

    #5B3D81

    oklch(42.7% 0.112 302.3)

  10. Step 900

    900

    #4A3568

    oklch(37.7% 0.087 301.3)

  11. Step 950

    950 (this color)

    #281C39

    oklch(25.6% 0.055 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#281C39 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)#14223A0.037
Deuteranopia (no green cones)#1722380.034
Tritanopia (no blue cones)#2521270.043
Achromatopsia (no color)#2222220.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #281C39

    #281C39

    oklch(25.6% 0.055 301.7)

  • #1F2705

    #1F2705

    oklch(25.6% 0.055 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281C39

    #281C39

    oklch(25.6% 0.055 301.7)

  • #1A213D

    #1A213D

    oklch(25.7% 0.054 271.6)

  • #32182F

    #32182F

    oklch(25.6% 0.056 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #281C39

    #281C39

    oklch(25.6% 0.055 301.7)

  • #2C2200

    #2C2200

    oklch(25.6% 0.052 92.5)

  • #0A2A15

    #0A2A15

    oklch(25.5% 0.054 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281C39

    #281C39

    oklch(25.6% 0.055 301.7)

  • #361C03

    #361C03

    oklch(25.7% 0.055 60.9)

  • #002A25

    #002A25

    oklch(25.6% 0.046 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281C39

    #281C39

    oklch(25.6% 0.055 301.7)

  • #391812

    #391812

    oklch(25.6% 0.054 31.7)

  • #1F2705

    #1F2705

    oklch(25.6% 0.055 121.6)

  • #00292F

    #00292F

    oklch(25.7% 0.044 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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