#34519D#34519D
#34519D is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.128 H 265.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #34519D |
|---|---|
| RGB | rgb(52, 81, 157) |
| HSL | hsl(223, 50%, 41%) |
| HSV | hsv(223, 67%, 62%) |
| CMYK | cmyk(66.9%, 48.4%, 0%, 38.4%) |
| CIE-LAB | lab(36.08, 15.00, -44.67) |
| CIE-LCH | lch(36.08, 47.13, 288.56°) |
| OKLab | oklab(45.42% -0.0094 -0.1279) |
| OKLCH | oklch(45.42% 0.128 265.8) |
| XYZ | xyz(10.4423, 9.0483, 33.0879) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.89
Cobalt (survey)
#1E488F
ΔE00 3.90
Dusk Blue
#26538D
ΔE00 3.99
Sapphire
#0F52BA
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.42
Dusky Blue
#475F94
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34519D #9D8034
analogous
#34859D #34519D #4C349D
triadic
#34519D #9D3451 #519D34
tetradic
#34519D #9D3485 #9D8034 #349D4C
square
#34519D #9D3485 #9D8034 #349D4C
split-complementary
#34519D #9D4C34 #859D34
monochromatic
#162241 #25396F #34519D #4B6CC3 #7992D3
Accessibility & contrast
On white
7.47
#34519D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#34519D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34519D
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34519D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34519D | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #34519d; /* rgb */ color: rgb(52, 81, 157); /* oklch */ color: oklch(45.4% 0.128 265.8);
Tailwind
colors: {
custom: {
50: '#7781ba',
500: '#34519d',
950: '#000000',
},
}SCSS
$custom: #34519d; $custom-light: #7781ba; $custom-dark: #000000;
JSON
{
"hex": "#34519d",
"rgb": {
"r": 52,
"g": 81,
"b": 157
},
"hsl": {
"h": 223.429,
"s": 50.239,
"l": 40.98
},
"oklch": {
"l": 0.45422,
"c": 0.12825,
"h": 265.8
},
"luminance": 0.09049
}Semantic roles & 50–950 ramp
primary
#34519D
secondary
#BBA772
accent
#B34EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81