#262452
Closest named color: Space Cadet (#2B2D42). oklch(29% 0.081 282), rgb(38, 36, 82).
Aa
White text reads best on this color (14.41:1).
About this color
#262452 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.081 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.046 away. White text reads best on it, at 14.41:1.
| Hue family | Purples |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.081) |
| Temperature | cool |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.45:1 |
| White text | 14.41:1 |
Values
| HEX | #262452 |
| RGB | rgb(38, 36, 82) |
| HSL | hsl(243, 39%, 23%) |
| OKLCH | oklch(29% 0.081 282) |
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 #262452 | 14.41:1 | AAA | Lc -104.0 | Preferred for body text |
| Black text on #262452 | 1.45:1 | Fails | Lc 0.0 | Not readable |
| #262452 text on white | 14.41:1 | AAA | Lc 101.0 | Preferred for body text |
| #262452 text on black | 1.45: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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FD
oklch(93.6% 0.028 281.5)
-
Step 200
200
#D3D6FC
oklch(88.6% 0.052 281.7)
-
Step 300
300
#B6B9FE
oklch(80.8% 0.097 282.1)
-
Step 400
400
#9392FD
oklch(70.7% 0.154 282.1)
-
Step 500
500
#7B72FB
oklch(63% 0.198 282.1)
-
Step 600
600
#6756EA
oklch(55.6% 0.214 282.1)
-
Step 700
700
#5645CC
oklch(49.2% 0.199 281.9)
-
Step 800
800
#463AA5
oklch(42.8% 0.165 281.9)
-
Step 900
900
#3A3382
oklch(37.6% 0.128 282.3)
-
Step 950
950 (this color)
#262452
oklch(29% 0.081 282)
#262452 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) | #0E2B54 | 0.035 |
| Deuteranopia (no green cones) | #0A2851 | 0.036 |
| Tritanopia (no blue cones) | #162E37 | 0.069 |
| Achromatopsia (no color) | #2A2A2A | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #262452
#262452
oklch(29% 0.081 282)
- #312C00
#312C00
oklch(28.9% 0.061 102.8)
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 #262452, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.046
- Marine #042E60 ΔE 0.047
- Oxford Blue #1B263B ΔE 0.048
- Prussian Blue #1D3557 ΔE 0.051
- Gunmetal #293241 ΔE 0.061
- Midnight Blue #191970 ΔE 0.065
- Dark Indigo #1F0954 ΔE 0.065
- Dark #1B2431 ΔE 0.066
Use #262452 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.