#3F5161
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.035 245.6), rgb(63, 81, 97).
Aa
White text reads best on this color (8.20:1).
About this color
#3F5161 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.035 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.039 away. White text reads best on it, at 8.20:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | muted (0.035) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.56:1 |
| White text | 8.20:1 |
Values
| HEX | #3F5161 |
| RGB | rgb(63, 81, 97) |
| HSL | hsl(208, 21%, 31%) |
| OKLCH | oklch(42.6% 0.035 245.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 #3F5161 | 8.20:1 | AAA | Lc -93.0 | Preferred for body text |
| Black text on #3F5161 | 2.56:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #3F5161 text on white | 8.20:1 | AAA | Lc 88.3 | Fine for body text |
| #3F5161 text on black | 2.56:1 | Fails | Lc -13.8 | 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
#F4F6F7
oklch(97.2% 0.003 228.8)
-
Step 100
100
#E7EAEE
oklch(93.6% 0.006 255.5)
-
Step 200
200
#D3DAE0
oklch(88.5% 0.011 243.7)
-
Step 300
300
#B6C2CD
oklch(80.8% 0.02 245.7)
-
Step 400
400
#90A3B4
oklch(70.6% 0.033 245.3)
-
Step 500
500
#758DA2
oklch(63.2% 0.042 244.9)
-
Step 600
600
#5D768D
oklch(55.5% 0.046 246.5)
-
Step 700
700
#4D6378
oklch(49% 0.043 247.5)
-
Step 800
800 (this color)
#3F5161
oklch(42.6% 0.035 245.6)
-
Step 900
900
#36434F
oklch(37.6% 0.027 246.4)
-
Step 950
950
#20272E
oklch(26.9% 0.016 248.4)
#3F5161 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) | #4B5162 | 0.018 |
| Deuteranopia (no green cones) | #464D61 | 0.015 |
| Tritanopia (no blue cones) | #345556 | 0.030 |
| Achromatopsia (no color) | #4F4F4F | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3F5161
#3F5161
oklch(42.6% 0.035 245.6)
- #5C4B3B
#5C4B3B
oklch(42.6% 0.034 65)
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 #3F5161, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.039
- YInMn Blue #415A77 ΔE 0.040
- Dark Grey Blue #29465B ΔE 0.048
- Dusty Grape #545775 ΔE 0.049
- Charcoal #264653 ΔE 0.053
- Deep Teal #00555A ΔE 0.053
- Petrol #005F6A ΔE 0.056
- Dusk #4E5481 ΔE 0.059
Use #3F5161 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.