#34337F#34337F
#34337F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.125 H 278.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #34337F |
|---|---|
| RGB | rgb(52, 51, 127) |
| HSL | hsl(241, 43%, 35%) |
| HSV | hsv(241, 60%, 50%) |
| CMYK | cmyk(59.1%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(25.65, 24.19, -43.06) |
| CIE-LCH | lch(25.65, 49.39, 299.33°) |
| OKLab | oklab(36.89% 0.0194 -0.1235) |
| OKLCH | oklch(36.89% 0.125 278.9) |
| XYZ | xyz(6.4296, 4.6296, 20.6294) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.22
Blueberry
#464196
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.42
Marine
#042E60
ΔE00 8.55
Royal
#0C1793
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34337F #7E7F33
analogous
#33587F #34337F #5A337F
triadic
#34337F #7F3433 #337F34
tetradic
#34337F #7F3358 #7E7F33 #337F5A
square
#34337F #7F3358 #7E7F33 #337F5A
split-complementary
#34337F #7F5A33 #587F33
monochromatic
#101028 #222153 #34337F #4645AB #6B69C3
Accessibility & contrast
On white
10.90
#34337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#34337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34337F
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34337F | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#094553
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #34337f; /* rgb */ color: rgb(52, 51, 127); /* oklch */ color: oklch(36.9% 0.125 278.9);
Tailwind
colors: {
custom: {
50: '#736aa5',
500: '#34337f',
950: '#000000',
},
}SCSS
$custom: #34337f; $custom-light: #736aa5; $custom-dark: #000000;
JSON
{
"hex": "#34337f",
"rgb": {
"r": 52,
"g": 51,
"b": 127
},
"hsl": {
"h": 240.789,
"s": 42.697,
"l": 34.902
},
"oklch": {
"l": 0.36885,
"c": 0.12503,
"h": 278.9
},
"luminance": 0.0463
}Semantic roles & 50–950 ramp
primary
#34337F
secondary
#AAAB63
accent
#D255D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F