#334264
Closest named color: Dark Grey Blue (#29465B). oklch(38.2% 0.062 265.4), rgb(51, 66, 100).
Aa
White text reads best on this color (9.98:1).
About this color
#334264 is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.062 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.026 away. White text reads best on it, at 9.98:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | muted (0.062) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.10:1 |
| White text | 9.98:1 |
Values
| HEX | #334264 |
| RGB | rgb(51, 66, 100) |
| HSL | hsl(222, 32%, 30%) |
| OKLCH | oklch(38.2% 0.062 265.4) |
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 #334264 | 9.98:1 | AAA | Lc -97.2 | Preferred for body text |
| Black text on #334264 | 2.10:1 | Fails | Lc 10.8 | Not readable |
| #334264 text on white | 9.98:1 | AAA | Lc 93.1 | Preferred for body text |
| #334264 text on black | 2.10: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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF3
oklch(93.6% 0.013 262.4)
-
Step 200
200
#D1D9EB
oklch(88.5% 0.026 266.6)
-
Step 300
300
#B2C1DF
oklch(80.9% 0.046 264.3)
-
Step 400
400
#8AA0D0
oklch(70.7% 0.075 265.4)
-
Step 500
500
#6E88C3
oklch(63.1% 0.094 265.6)
-
Step 600
600
#5671B0
oklch(55.6% 0.103 265.6)
-
Step 700
700
#465F97
oklch(49.2% 0.095 264.9)
-
Step 800
800
#3A4D7A
oklch(42.6% 0.079 265.8)
-
Step 900
900 (this color)
#334264
oklch(38.2% 0.062 265.4)
-
Step 950
950
#1D263A
oklch(27% 0.04 265.3)
#334264 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) | #364565 | 0.011 |
| Deuteranopia (no green cones) | #304063 | 0.008 |
| Tritanopia (no blue cones) | #20494E | 0.055 |
| Achromatopsia (no color) | #424242 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334264
#334264
oklch(38.2% 0.062 265.4)
- #524018
#524018
oklch(38.2% 0.061 84.7)
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 #334264, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.026
- Charcoal #264653 ΔE 0.040
- Twilight Blue #0A437A ΔE 0.050
- Dark Blue Grey #1F3B4D ΔE 0.052
- Prussian Blue #1D3557 ΔE 0.056
- Charcoal Grey #3C4142 ΔE 0.059
- Marine Blue #01386A ΔE 0.061
- Onyx #343A40 ΔE 0.061
Use #334264 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.