#34337C#34337C
#34337C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.121 H 279.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #34337C |
|---|---|
| RGB | rgb(52, 51, 124) |
| HSL | hsl(241, 42%, 34%) |
| HSV | hsv(241, 59%, 49%) |
| CMYK | cmyk(58.1%, 58.9%, 0%, 51.4%) |
| CIE-LAB | lab(25.42, 23.14, -41.54) |
| CIE-LCH | lch(25.42, 47.55, 299.12°) |
| OKLab | oklab(36.64% 0.0194 -0.1191) |
| OKLCH | oklch(36.64% 0.121 279.2) |
| XYZ | xyz(6.2369, 4.5525, 19.6149) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.38
Blueberry
#464196
ΔE00 5.61
Midnight Blue
#191970
ΔE00 7.45
Sapphire (survey)
#2138AB
ΔE00 7.62
Marine
#042E60
ΔE00 8.32
Royal
#0C1793
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34337C #7B7C33
analogous
#33577C #34337C #59337C
triadic
#34337C #7C3433 #337C34
tetradic
#34337C #7C3357 #7B7C33 #337C59
square
#34337C #7C3357 #7B7C33 #337C59
split-complementary
#34337C #7C5933 #577C33
monochromatic
#100F25 #222151 #34337C #4645A7 #6A68C1
Accessibility & contrast
On white
10.99
#34337C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#34337C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34337C
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34337C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34337C | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#0E4452
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #34337c; /* rgb */ color: rgb(52, 51, 124); /* oklch */ color: oklch(36.6% 0.121 279.2);
Tailwind
colors: {
custom: {
50: '#736aa2',
500: '#34337c',
950: '#000000',
},
}SCSS
$custom: #34337c; $custom-light: #736aa2; $custom-dark: #000000;
JSON
{
"hex": "#34337c",
"rgb": {
"r": 52,
"g": 51,
"b": 124
},
"hsl": {
"h": 240.822,
"s": 41.714,
"l": 34.314
},
"oklch": {
"l": 0.36639,
"c": 0.12063,
"h": 279.2
},
"luminance": 0.04553
}Semantic roles & 50–950 ramp
primary
#34337C
secondary
#A8A962
accent
#D256D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F