#2A2A48
Closest named color: Space Cadet (#2B2D42). oklch(30% 0.054 282.7), rgb(42, 42, 72).
Aa
White text reads best on this color (13.78:1).
About this color
#2A2A48 is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.054 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.017 away. White text reads best on it, at 13.78:1.
| Hue family | Purples |
| Lightness | dark (30%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.52:1 |
| White text | 13.78:1 |
Values
| HEX | #2A2A48 |
| RGB | rgb(42, 42, 72) |
| HSL | hsl(240, 26%, 22%) |
| OKLCH | oklch(30% 0.054 282.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2A2A48 | 13.78:1 | AAA | Lc -103.4 | Preferred for body text |
| Black text on #2A2A48 | 1.52:1 | Fails | Lc 0.0 | Not readable |
| #2A2A48 text on white | 13.78:1 | AAA | Lc 100.3 | Preferred for body text |
| #2A2A48 text on black | 1.52: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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E9F6
oklch(93.7% 0.018 282.5)
-
Step 200
200
#D5D7F1
oklch(88.6% 0.036 282.1)
-
Step 300
300
#BABCE9
oklch(80.9% 0.063 282.9)
-
Step 400
400
#9798DF
oklch(70.6% 0.103 282.8)
-
Step 500
500
#7F7ED5
oklch(63.2% 0.129 282.6)
-
Step 600
600
#6965C3
oklch(55.6% 0.142 282.7)
-
Step 700
700
#5853A8
oklch(49% 0.132 283)
-
Step 800
800
#484588
oklch(42.8% 0.108 282.8)
-
Step 900
900
#3C3A6D
oklch(37.7% 0.086 283.3)
-
Step 950
950 (this color)
#2A2A48
oklch(30% 0.054 282.7)
#2A2A48 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) | #202E49 | 0.019 |
| Deuteranopia (no green cones) | #1F2C47 | 0.018 |
| Tritanopia (no blue cones) | #223035 | 0.047 |
| Achromatopsia (no color) | #2D2D2D | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A2A48
#2A2A48
oklch(30% 0.054 282.7)
- #332F0A
#332F0A
oklch(30.1% 0.054 103.1)
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 #2A2A48, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.017
- Gunmetal #293241 ΔE 0.032
- Oxford Blue #1B263B ΔE 0.037
- Prussian Blue #1D3557 ΔE 0.041
- Dark #1B2431 ΔE 0.052
- Dark Blue Grey #1F3B4D ΔE 0.054
- Marine #042E60 ΔE 0.057
- Jet #212529 ΔE 0.060
Use #2A2A48 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.