#2E4F5F
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.9% 0.047 230.5), rgb(46, 79, 95).
Aa
White text reads best on this color (8.75:1).
About this color
#2E4F5F is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.047 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.028 away. White text reads best on it, at 8.75:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | muted (0.047) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.39:1 |
| White text | 8.75:1 |
Values
| HEX | #2E4F5F |
| RGB | rgb(46, 79, 95) |
| HSL | hsl(200, 35%, 28%) |
| OKLCH | oklch(40.9% 0.047 230.5) |
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 #2E4F5F | 8.75:1 | AAA | Lc -94.4 | Preferred for body text |
| Black text on #2E4F5F | 2.39:1 | Fails | Lc 14.1 | Not readable |
| #2E4F5F text on white | 8.75:1 | AAA | Lc 89.9 | Fine for body text |
| #2E4F5F text on black | 2.39:1 | Fails | Lc -12.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 800.
-
Step 50
50
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E5EBEE
oklch(93.6% 0.008 228.9)
-
Step 200
200
#CFDBE1
oklch(88.4% 0.015 229)
-
Step 300
300
#AFC4CF
oklch(80.8% 0.028 230.4)
-
Step 400
400
#85A6B7
oklch(70.6% 0.044 230.5)
-
Step 500
500
#6690A5
oklch(63% 0.056 230.4)
-
Step 600
600
#4C7A91
oklch(55.6% 0.062 231.1)
-
Step 700
700
#3D677B
oklch(49.1% 0.057 230)
-
Step 800
800 (this color)
#2E4F5F
oklch(40.9% 0.047 230.5)
-
Step 900
900
#2D4552
oklch(37.6% 0.037 232.7)
-
Step 950
950
#1B2930
oklch(27.1% 0.023 230.3)
#2E4F5F 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) | #474E60 | 0.033 |
| Deuteranopia (no green cones) | #40485F | 0.030 |
| Tritanopia (no blue cones) | #165354 | 0.034 |
| Achromatopsia (no color) | #4B4B4B | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2E4F5F
#2E4F5F
oklch(40.9% 0.047 230.5)
- #5F4333
#5F4333
oklch(41% 0.047 50.8)
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 #2E4F5F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.028
- Dark Grey Blue #29465B ΔE 0.030
- Charcoal #264653 ΔE 0.034
- Deep Teal #00555A ΔE 0.036
- Dark Teal #014D4E ΔE 0.046
- Petrol #005F6A ΔE 0.051
- Dark Blue Green #005249 ΔE 0.055
- YInMn Blue #415A77 ΔE 0.055
Use #2E4F5F 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.