#3F4159
Closest named color: Dark Grey Blue (#29465B). oklch(38.4% 0.041 280.6), rgb(63, 65, 89).
Aa
White text reads best on this color (9.94:1).
About this color
#3F4159 is a dark, muted purple. In OKLCH its lightness is 38%, its chroma 0.041 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.032 away. White text reads best on it, at 9.94:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | muted (0.041) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.11:1 |
| White text | 9.94:1 |
Values
| HEX | #3F4159 |
| RGB | rgb(63, 65, 89) |
| HSL | hsl(235, 17%, 30%) |
| OKLCH | oklch(38.4% 0.041 280.6) |
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 #3F4159 | 9.94:1 | AAA | Lc -97.2 | Preferred for body text |
| Black text on #3F4159 | 2.11:1 | Fails | Lc 10.9 | Not readable |
| #3F4159 text on white | 9.94:1 | AAA | Lc 93.1 | Preferred for body text |
| #3F4159 text on black | 2.11:1 | Fails | Lc -9.4 | 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 900.
-
Step 50
50
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E8E9F0
oklch(93.5% 0.009 279.7)
-
Step 200
200
#D7D8E4
oklch(88.5% 0.016 282.2)
-
Step 300
300
#BCBFD5
oklch(80.9% 0.031 279.5)
-
Step 400
400
#9A9EBF
oklch(70.7% 0.048 279.7)
-
Step 500
500
#8286AF
oklch(63.2% 0.062 280.1)
-
Step 600
600
#6C6F9B
oklch(55.7% 0.068 280.9)
-
Step 700
700
#5A5D84
oklch(49.2% 0.062 280.4)
-
Step 800
800
#494C6B
oklch(42.7% 0.051 279.7)
-
Step 900
900 (this color)
#3F4159
oklch(38.4% 0.041 280.6)
-
Step 950
950
#242533
oklch(27% 0.026 281.3)
#3F4159 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) | #3A445A | 0.011 |
| Deuteranopia (no green cones) | #394258 | 0.010 |
| Tritanopia (no blue cones) | #394549 | 0.036 |
| Achromatopsia (no color) | #434343 | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3F4159
#3F4159
oklch(38.4% 0.041 280.6)
- #48442A
#48442A
oklch(38.3% 0.041 100.6)
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 #3F4159, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.032
- Charcoal #264653 ΔE 0.040
- Charcoal Grey #3C4142 ΔE 0.041
- Onyx #343A40 ΔE 0.049
- Dark Blue Grey #1F3B4D ΔE 0.055
- Dark Slate Gray #2F4F4F ΔE 0.056
- Prussian Blue #1D3557 ΔE 0.066
- Gunmetal #293241 ΔE 0.070
Use #3F4159 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.