#282151
Closest named color: Oxford Blue (#1B263B). oklch(28.5% 0.084 286.4), rgb(40, 33, 81).
Aa
White text reads best on this color (14.72:1).
About this color
#282151 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.084 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.051 away. White text reads best on it, at 14.72:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.42:1 |
| White text | 14.72:1 |
Values
| HEX | #282151 |
| RGB | rgb(40, 33, 81) |
| HSL | hsl(249, 42%, 22%) |
| OKLCH | oklch(28.5% 0.084 286.4) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #282151 | 14.72:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #282151 | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #282151 text on white | 14.72:1 | AAA | Lc 101.4 | Preferred for body text |
| #282151 text on black | 1.42: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.
-
Step 50
50
#F4F4FE
oklch(97% 0.013 286.1)
-
Step 100
100
#E8E7FD
oklch(93.5% 0.03 287.9)
-
Step 200
200
#D5D4FD
oklch(88.4% 0.056 286.3)
-
Step 300
300
#BBB7FF
oklch(80.9% 0.101 286.5)
-
Step 400
400
#9A8EFE
oklch(70.6% 0.16 286.4)
-
Step 500
500
#856DFC
oklch(63.1% 0.204 286.7)
-
Step 600
600
#7150EC
oklch(55.7% 0.222 286.5)
-
Step 700
700
#5F3FCD
oklch(49.2% 0.206 286.4)
-
Step 800
800
#4D35A6
oklch(42.7% 0.172 286.4)
-
Step 900
900
#3F3083
oklch(37.6% 0.133 286.4)
-
Step 950
950 (this color)
#282151
oklch(28.5% 0.084 286.4)
#282151 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #082953 | 0.044 |
| Deuteranopia (no green cones) | #072750 | 0.044 |
| Tritanopia (no blue cones) | #1B2B35 | 0.070 |
| Achromatopsia (no color) | #282828 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #282151
#282151
oklch(28.5% 0.084 286.4)
- #2E2C00
#2E2C00
oklch(28.6% 0.061 107)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #282151, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.051
- Space Cadet #2B2D42 ΔE 0.051
- Marine #042E60 ΔE 0.055
- Dark Indigo #1F0954 ΔE 0.059
- Prussian Blue #1D3557 ΔE 0.060
- Midnight Blue #191970 ΔE 0.065
- Gunmetal #293241 ΔE 0.067
- Dark #1B2431 ΔE 0.067
Use #282151 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.