#242254
Closest named color: Marine (#042E60). oklch(28.5% 0.088 281), rgb(36, 34, 84).
Aa
White text reads best on this color (14.66:1).
About this color
#242254 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.088 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.047 away. White text reads best on it, at 14.66:1.
| Hue family | Purples |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.088) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.43:1 |
| White text | 14.66:1 |
Values
| HEX | #242254 |
| RGB | rgb(36, 34, 84) |
| HSL | hsl(242, 42%, 23%) |
| OKLCH | oklch(28.5% 0.088 281) |
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 #242254 | 14.66:1 | AAA | Lc -104.2 | Preferred for body text |
| Black text on #242254 | 1.43:1 | Fails | Lc 0.0 | Not readable |
| #242254 text on white | 14.66:1 | AAA | Lc 101.3 | Preferred for body text |
| #242254 text on black | 1.43: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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E6E8FE
oklch(93.6% 0.03 281.7)
-
Step 200
200
#D2D6FF
oklch(88.6% 0.057 280.8)
-
Step 300
300
#B5BAFF
oklch(81% 0.097 280.8)
-
Step 400
400
#9192FF
oklch(70.7% 0.157 281.2)
-
Step 500
500
#7972FF
oklch(63.2% 0.203 281.1)
-
Step 600
600
#6451F4
oklch(55.5% 0.232 281)
-
Step 700
700
#5440D5
oklch(49.1% 0.216 281)
-
Step 800
800
#4436AC
oklch(42.6% 0.179 281)
-
Step 900
900
#383188
oklch(37.6% 0.14 280.9)
-
Step 950
950 (this color)
#242254
oklch(28.5% 0.088 281)
#242254 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) | #042A56 | 0.040 |
| Deuteranopia (no green cones) | #002753 | 0.041 |
| Tritanopia (no blue cones) | #102D37 | 0.075 |
| Achromatopsia (no color) | #282828 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #242254
#242254
oklch(28.5% 0.088 281)
- #312B00
#312B00
oklch(28.7% 0.06 101.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 #242254, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.047
- Oxford Blue #1B263B ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.054
- Prussian Blue #1D3557 ΔE 0.057
- Midnight Blue #191970 ΔE 0.058
- Dark Indigo #1F0954 ΔE 0.058
- Gunmetal #293241 ΔE 0.068
- Dark #1B2431 ΔE 0.069
Use #242254 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.