#2A314E
Closest named color: Space Cadet (#2B2D42). oklch(32.1% 0.053 272.8), rgb(42, 49, 78).
Aa
White text reads best on this color (12.74:1).
About this color
#2A314E is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.053 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.022 away. White text reads best on it, at 12.74:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | muted (0.053) |
| Temperature | cool |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.64:1 |
| White text | 12.74:1 |
Values
| HEX | #2A314E |
| RGB | rgb(42, 49, 78) |
| HSL | hsl(228, 30%, 24%) |
| OKLCH | oklch(32.1% 0.053 272.8) |
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 #2A314E | 12.74:1 | AAA | Lc -102.1 | Preferred for body text |
| Black text on #2A314E | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #2A314E text on white | 12.74:1 | AAA | Lc 98.8 | Preferred for body text |
| #2A314E text on black | 1.64: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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E6E9F6
oklch(93.6% 0.018 275.6)
-
Step 200
200
#D1D8F1
oklch(88.5% 0.035 273.2)
-
Step 300
300
#B3BFEA
oklch(81% 0.062 272.7)
-
Step 400
400
#8C9CDF
oklch(70.6% 0.1 273.3)
-
Step 500
500
#7083D6
oklch(63.2% 0.127 272.6)
-
Step 600
600
#596BC4
oklch(55.7% 0.139 272.5)
-
Step 700
700
#4958A9
oklch(49% 0.13 272.8)
-
Step 800
800
#3C4989
oklch(42.8% 0.107 272.5)
-
Step 900
900
#333D6D
oklch(37.6% 0.083 272.9)
-
Step 950
950 (this color)
#2A314E
oklch(32.1% 0.053 272.8)
#2A314E 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) | #27344F | 0.010 |
| Deuteranopia (no green cones) | #24314D | 0.009 |
| Tritanopia (no blue cones) | #1E373C | 0.047 |
| Achromatopsia (no color) | #323232 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A314E
#2A314E
oklch(32.1% 0.053 272.8)
- #3C320F
#3C320F
oklch(32% 0.053 93.2)
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 #2A314E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.022
- Prussian Blue #1D3557 ΔE 0.023
- Gunmetal #293241 ΔE 0.025
- Dark Blue Grey #1F3B4D ΔE 0.035
- Midnight Green #073B4C ΔE 0.045
- Onyx #343A40 ΔE 0.048
- Marine #042E60 ΔE 0.053
- Oxford Blue #1B263B ΔE 0.053
Use #2A314E 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.