#334264#334264
#334264 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.062 H 265.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #334264 |
|---|---|
| RGB | rgb(51, 66, 100) |
| HSL | hsl(222, 32%, 30%) |
| HSV | hsv(222, 49%, 39%) |
| CMYK | cmyk(49%, 34%, 0%, 60.8%) |
| CIE-LAB | lab(28.17, 4.33, -21.88) |
| CIE-LCH | lch(28.17, 22.31, 281.20°) |
| OKLab | oklab(38.22% -0.0049 -0.0614) |
| OKLCH | oklch(38.22% 0.062 265.4) |
| XYZ | xyz(5.6130, 5.5200, 12.8238) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 7.01
Twilight Blue
#0A437A
ΔE00 7.17
Darkish Blue
#014182
ΔE00 7.73
Navy Blue
#1B2A4A
ΔE00 7.73
Dusk
#4E5481
ΔE00 7.85
Marine
#042E60
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334264 #645533
analogous
#335B64 #334264 #3D3364
triadic
#334264 #643342 #426433
tetradic
#334264 #64335B #645533 #33643D
square
#334264 #64335B #645533 #33643D
split-complementary
#334264 #643D33 #5B6433
monochromatic
#0A0D14 #1E273B #334264 #485D8D #627AAF
Accessibility & contrast
On white
9.98
#334264 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#334264 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334264
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334264 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334264 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364565
Deuteranopia (green-blind)
#304063
Tritanopia (blue-blind)
#20494E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #334264; /* rgb */ color: rgb(51, 66, 100); /* oklch */ color: oklch(38.2% 0.062 265.4);
Tailwind
colors: {
custom: {
50: '#6d7690',
500: '#334264',
950: '#000000',
},
}SCSS
$custom: #334264; $custom-light: #6d7690; $custom-dark: #000000;
JSON
{
"hex": "#334264",
"rgb": {
"r": 51,
"g": 66,
"b": 100
},
"hsl": {
"h": 221.633,
"s": 32.45,
"l": 29.608
},
"oklch": {
"l": 0.38217,
"c": 0.0616,
"h": 265.4
},
"luminance": 0.0552
}Semantic roles & 50–950 ramp
primary
#334264
secondary
#95845E
accent
#A85FC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080C
muted
#7A7B7D