#34499F#34499F
#34499F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.142 H 269.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #34499F |
|---|---|
| RGB | rgb(52, 73, 159) |
| HSL | hsl(228, 51%, 41%) |
| HSV | hsv(228, 67%, 62%) |
| CMYK | cmyk(67.3%, 54.1%, 0%, 37.6%) |
| CIE-LAB | lab(33.98, 21.05, -49.26) |
| CIE-LCH | lch(33.98, 53.57, 293.14°) |
| OKLab | oklab(43.87% -0.0014 -0.1415) |
| OKLCH | oklch(43.87% 0.142 269.4) |
| XYZ | xyz(10.0546, 7.9974, 33.8079) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.81
Cobalt (survey)
#1E488F
ΔE00 4.18
Blueberry
#464196
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34499F #9F8A34
analogous
#347F9F #34499F #55349F
triadic
#34499F #9F3449 #499F34
tetradic
#34499F #9F347F #9F8A34 #349F55
square
#34499F #9F347F #9F8A34 #349F55
split-complementary
#34499F #9F5534 #7F9F34
monochromatic
#161F43 #253471 #34499F #4C63C4 #7A8CD3
Accessibility & contrast
On white
8.08
#34499F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#34499F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34499F
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34499F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34499F | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #34499f; /* rgb */ color: rgb(52, 73, 159); /* oklch */ color: oklch(43.9% 0.142 269.4);
Tailwind
colors: {
custom: {
50: '#787bbc',
500: '#34499f',
950: '#000000',
},
}SCSS
$custom: #34499f; $custom-light: #787bbc; $custom-dark: #000000;
JSON
{
"hex": "#34499f",
"rgb": {
"r": 52,
"g": 73,
"b": 159
},
"hsl": {
"h": 228.224,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.43873,
"c": 0.14154,
"h": 269.4
},
"luminance": 0.07998
}Semantic roles & 50–950 ramp
primary
#34499F
secondary
#BCAE73
accent
#BF4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81