#34409C#34409C
#34409C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.149 H 272.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #34409C |
|---|---|
| RGB | rgb(52, 64, 156) |
| HSL | hsl(233, 50%, 41%) |
| HSV | hsv(233, 67%, 61%) |
| CMYK | cmyk(66.7%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(31.34, 25.93, -51.73) |
| CIE-LCH | lch(31.34, 57.86, 296.62°) |
| OKLab | oklab(41.83% 0.0067 -0.1489) |
| OKLCH | oklch(41.83% 0.149 272.6) |
| XYZ | xyz(9.2483, 6.7963, 32.2705) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.25
Sapphire (survey)
#2138AB
ΔE00 3.55
Darkslateblue
#483D8B
ΔE00 5.06
Cobalt
#0047AB
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34409C #9C9034
analogous
#34749C #34409C #5C349C
triadic
#34409C #9C3440 #409C34
tetradic
#34409C #9C3474 #9C9034 #349C5C
square
#34409C #9C3474 #9C9034 #349C5C
split-complementary
#34409C #9C5C34 #749C34
monochromatic
#151A40 #252D6E #34409C #4A58C3 #7883D2
Accessibility & contrast
On white
8.90
#34409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#34409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34409C
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34409C | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #34409c; /* rgb */ color: rgb(52, 64, 156); /* oklch */ color: oklch(41.8% 0.149 272.6);
Tailwind
colors: {
custom: {
50: '#7874ba',
500: '#34409c',
950: '#000000',
},
}SCSS
$custom: #34409c; $custom-light: #7874ba; $custom-dark: #000000;
JSON
{
"hex": "#34409c",
"rgb": {
"r": 52,
"g": 64,
"b": 156
},
"hsl": {
"h": 233.077,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.41825,
"c": 0.14904,
"h": 272.6
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#34409C
secondary
#BBB271
accent
#C94EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81