#334562
Closest named color: Dark Grey Blue (#29465B). oklch(38.8% 0.055 259.7), rgb(51, 69, 98).
Aa
White text reads best on this color (9.68:1).
About this color
#334562 is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.055 and its hue 260°. 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 9.68:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | muted (0.055) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.16:1 |
| White text | 9.68:1 |
Values
| HEX | #334562 |
| RGB | rgb(51, 69, 98) |
| HSL | hsl(217, 32%, 29%) |
| OKLCH | oklch(38.8% 0.055 259.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 #334562 | 9.68:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #334562 | 2.16:1 | Fails | Lc 11.6 | Not readable |
| #334562 text on white | 9.68:1 | AAA | Lc 92.4 | Preferred for body text |
| #334562 text on black | 2.16:1 | Fails | Lc -10.0 | 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
#E5EAF2
oklch(93.6% 0.012 259.8)
-
Step 200
200
#D0DAE9
oklch(88.5% 0.023 258.4)
-
Step 300
300
#B1C2DC
oklch(81% 0.041 258.8)
-
Step 400
400
#89A2CA
oklch(70.8% 0.065 259.7)
-
Step 500
500
#6B8ABD
oklch(63% 0.085 260.1)
-
Step 600
600
#5374A9
oklch(55.7% 0.091 259.6)
-
Step 700
700
#436191
oklch(49.1% 0.085 259.5)
-
Step 800
800
#384F75
oklch(42.7% 0.07 260.1)
-
Step 900
900 (this color)
#334562
oklch(38.8% 0.055 259.7)
-
Step 950
950
#1C2737
oklch(27% 0.034 257.7)
#334562 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) | #3A4763 | 0.012 |
| Deuteranopia (no green cones) | #354261 | 0.009 |
| Tritanopia (no blue cones) | #214B4F | 0.048 |
| Achromatopsia (no color) | #444444 | 0.055 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334562
#334562
oklch(38.8% 0.055 259.7)
- #544120
#544120
oklch(38.8% 0.055 79.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 #334562, 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.033
- Dark Slate Gray #2F4F4F ΔE 0.053
- Charcoal Grey #3C4142 ΔE 0.053
- Dark Blue Grey #1F3B4D ΔE 0.054
- Twilight Blue #0A437A ΔE 0.055
- Onyx #343A40 ΔE 0.060
- Light Navy #155084 ΔE 0.062
Use #334562 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.