#2D4058
Closest named color: Dark Grey Blue (#29465B). oklch(36.6% 0.048 254.7), rgb(45, 64, 88).
Aa
White text reads best on this color (10.57:1).
About this color
#2D4058 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.048 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.019 away. White text reads best on it, at 10.57:1.
| Hue family | Blues |
| Lightness | dark (37%) |
| Chroma | muted (0.048) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 1.98:1 |
| White text | 10.57:1 |
Values
| HEX | #2D4058 |
| RGB | rgb(45, 64, 88) |
| HSL | hsl(213, 32%, 26%) |
| OKLCH | oklch(36.6% 0.048 254.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 #2D4058 | 10.57:1 | AAA | Lc -98.4 | Preferred for body text |
| Black text on #2D4058 | 1.98:1 | Fails | Lc 9.4 | Not readable |
| #2D4058 text on white | 10.57:1 | AAA | Lc 94.5 | Preferred for body text |
| #2D4058 text on black | 1.98:1 | Fails | Lc -8.1 | 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
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E5EAF1
oklch(93.5% 0.011 256.7)
-
Step 200
200
#D0DAE7
oklch(88.5% 0.021 254.9)
-
Step 300
300
#B1C2D8
oklch(80.8% 0.036 254.9)
-
Step 400
400
#88A3C5
oklch(70.7% 0.058 254.4)
-
Step 500
500
#6B8CB6
oklch(63.2% 0.074 254.8)
-
Step 600
600
#5275A2
oklch(55.5% 0.081 255.1)
-
Step 700
700
#43628B
oklch(49% 0.076 255.7)
-
Step 800
800
#375071
oklch(42.6% 0.063 255.7)
-
Step 900
900 (this color)
#2D4058
oklch(36.6% 0.048 254.7)
-
Step 950
950
#1C2735
oklch(26.9% 0.03 254.7)
#2D4058 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) | #374159 | 0.015 |
| Deuteranopia (no green cones) | #323D57 | 0.011 |
| Tritanopia (no blue cones) | #1C4548 | 0.042 |
| Achromatopsia (no color) | #3F3F3F | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D4058
#2D4058
oklch(36.6% 0.048 254.7)
- #4E3B21
#4E3B21
oklch(36.7% 0.048 74.1)
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 #2D4058, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.019
- Charcoal #264653 ΔE 0.025
- Dark Blue Grey #1F3B4D ΔE 0.031
- Onyx #343A40 ΔE 0.041
- Prussian Blue #1D3557 ΔE 0.043
- Charcoal Grey #3C4142 ΔE 0.044
- Midnight Green #073B4C ΔE 0.047
- Gunmetal #293241 ΔE 0.054
Use #2D4058 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.