#281E3F

Closest named color: Oxford Blue (#1B263B). oklch(26.5% 0.061 296), rgb(40, 30, 63).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.061)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.58:1

Values

HEX#281E3F
RGBrgb(40, 30, 63)
HSLhsl(258, 35%, 18%)
OKLCHoklch(26.5% 0.061 296)

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 #281E3F 15.58:1 AAA Lc -105.1 Preferred for body text
Black text on #281E3F 1.34:1 Fails Lc 0.0 Not readable
#281E3F text on white 15.58:1 AAA Lc 102.4 Preferred for body text
#281E3F text on black 1.34: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F1

    oklch(88.4% 0.04 296.6)

  4. Step 300

    300

    #C4B8EB

    oklch(81% 0.072 295.5)

  5. Step 400

    400

    #A791E0

    oklch(70.7% 0.115 296.1)

  6. Step 500

    500

    #9274D7

    oklch(63.1% 0.147 295.9)

  7. Step 600

    600

    #7D5AC5

    oklch(55.5% 0.161 295.8)

  8. Step 700

    700

    #6A4AAA

    oklch(49.2% 0.148 295.9)

  9. Step 800

    800

    #563D8A

    oklch(42.7% 0.123 295.7)

  10. Step 900

    900

    #47356E

    oklch(37.8% 0.095 296.1)

  11. Step 950

    950 (this color)

    #281E3F

    oklch(26.5% 0.061 296)

Export this scale for Tailwind in the Tailwind colors tool

#281E3F 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)#1324400.037
Deuteranopia (no green cones)#15233E0.034
Tritanopia (no blue cones)#23242B0.048
Achromatopsia (no color)#2424240.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #281E3F

    #281E3F

    oklch(26.5% 0.061 296)

  • #242800

    #242800

    oklch(26.4% 0.06 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281E3F

    #281E3F

    oklch(26.5% 0.061 296)

  • #172343

    #172343

    oklch(26.4% 0.062 266.7)

  • #341A35

    #341A35

    oklch(26.6% 0.06 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #281E3F

    #281E3F

    oklch(26.5% 0.061 296)

  • #312300

    #312300

    oklch(26.6% 0.054 86.2)

  • #0E2D12

    #0E2D12

    oklch(26.6% 0.061 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281E3F

    #281E3F

    oklch(26.5% 0.061 296)

  • #3B1C03

    #3B1C03

    oklch(26.5% 0.061 55.7)

  • #002D24

    #002D24

    oklch(26.5% 0.05 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281E3F

    #281E3F

    oklch(26.5% 0.061 296)

  • #3E1815

    #3E1815

    oklch(26.6% 0.06 26.5)

  • #242800

    #242800

    oklch(26.4% 0.06 115.4)

  • #002B30

    #002B30

    oklch(26.4% 0.045 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 #281E3F, closest first.

Similar named colors

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

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