#42428F
Closest named color: Blueberry (#464196). oklch(42.2% 0.124 279.7), rgb(66, 66, 143).
Aa
White text reads best on this color (8.72:1).
About this color
#42428F is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.124 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.013 away. White text reads best on it, at 8.72:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.124) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.40:1 |
| White text | 8.72:1 |
Values
| HEX | #42428F |
| RGB | rgb(66, 66, 143) |
| HSL | hsl(240, 37%, 41%) |
| OKLCH | oklch(42.2% 0.124 279.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 #42428F | 8.72:1 | AAA | Lc -94.2 | Preferred for body text |
| Black text on #42428F | 2.40:1 | Fails | Lc 14.3 | Not readable |
| #42428F text on white | 8.72:1 | AAA | Lc 89.7 | Fine for body text |
| #42428F text on black | 2.40:1 | Fails | Lc -12.6 | 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 800.
-
Step 50
50
#F4F5FC
oklch(97.1% 0.009 279.7)
-
Step 100
100
#E7E9F8
oklch(93.7% 0.02 279.9)
-
Step 200
200
#D3D7F4
oklch(88.5% 0.04 279.3)
-
Step 300
300
#B6BCEF
oklch(80.8% 0.072 279.4)
-
Step 400
400
#9298E8
oklch(70.7% 0.117 279.7)
-
Step 500
500
#797CE1
oklch(63% 0.15 279.9)
-
Step 600
600
#6363CE
oklch(55.5% 0.161 279.8)
-
Step 700
700
#5252B3
oklch(49.1% 0.15 279.3)
-
Step 800
800 (this color)
#42428F
oklch(42.2% 0.124 279.7)
-
Step 900
900
#383A73
oklch(37.7% 0.096 279.2)
-
Step 950
950
#212244
oklch(27% 0.062 280.1)
#42428F 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) | #184E92 | 0.051 |
| Deuteranopia (no green cones) | #0E488D | 0.053 |
| Tritanopia (no blue cones) | #215362 | 0.107 |
| Achromatopsia (no color) | #4B4B4B | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42428F
#42428F
oklch(42.2% 0.124 279.7)
- #594E00
#594E00
oklch(42.2% 0.088 100)
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 #42428F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.013
- Dark Slate Blue #483D8B ΔE 0.016
- Cobalt #1E488F ΔE 0.043
- Twilight #4E518B ΔE 0.049
- Dusk Blue #26538D ΔE 0.054
- Light Navy #155084 ΔE 0.062
- Dusk #4E5481 ΔE 0.064
- Denim Blue #3B5B92 ΔE 0.068
Use #42428F 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.