#34337E#34337E
#34337E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.124 H 279.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #34337E |
|---|---|
| RGB | rgb(52, 51, 126) |
| HSL | hsl(241, 42%, 35%) |
| HSV | hsv(241, 60%, 49%) |
| CMYK | cmyk(58.7%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(25.57, 23.84, -42.55) |
| CIE-LCH | lch(25.57, 48.78, 299.26°) |
| OKLab | oklab(36.8% 0.0194 -0.122) |
| OKLCH | oklch(36.8% 0.124 279) |
| XYZ | xyz(6.3647, 4.6036, 20.2878) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.26
Blueberry
#464196
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 7.27
Midnight Blue
#191970
ΔE00 7.42
Marine
#042E60
ΔE00 8.47
Royal
#0C1793
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34337E #7D7E33
analogous
#33587E #34337E #5A337E
triadic
#34337E #7E3433 #337E34
tetradic
#34337E #7E3358 #7D7E33 #337E5A
square
#34337E #7E3358 #7D7E33 #337E5A
split-complementary
#34337E #7E5A33 #587E33
monochromatic
#101027 #222152 #34337E #4645AA #6A69C2
Accessibility & contrast
On white
10.93
#34337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#34337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34337E
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34337E | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#0B4553
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #34337e; /* rgb */ color: rgb(52, 51, 126); /* oklch */ color: oklch(36.8% 0.124 279.0);
Tailwind
colors: {
custom: {
50: '#736aa4',
500: '#34337e',
950: '#000000',
},
}SCSS
$custom: #34337e; $custom-light: #736aa4; $custom-dark: #000000;
JSON
{
"hex": "#34337e",
"rgb": {
"r": 52,
"g": 51,
"b": 126
},
"hsl": {
"h": 240.8,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.36803,
"c": 0.12357,
"h": 279
},
"luminance": 0.04604
}Semantic roles & 50–950 ramp
primary
#34337E
secondary
#A9AA63
accent
#D256D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F