#34489F#34489F
#34489F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #34489F |
|---|---|
| RGB | rgb(52, 72, 159) |
| HSL | hsl(229, 51%, 41%) |
| HSV | hsv(229, 67%, 62%) |
| CMYK | cmyk(67.3%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(33.70, 21.72, -49.70) |
| CIE-LCH | lch(33.70, 54.24, 293.60°) |
| OKLab | oklab(43.67% -0.0005 -0.1428) |
| OKLCH | oklch(43.67% 0.143 269.8) |
| XYZ | xyz(9.9894, 7.8671, 33.7862) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.88
Cobalt (survey)
#1E488F
ΔE00 4.33
Blueberry
#464196
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.41
Sapphire
#0F52BA
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34489F #9F8B34
analogous
#347E9F #34489F #56349F
triadic
#34489F #9F3448 #489F34
tetradic
#34489F #9F347E #9F8B34 #349F56
square
#34489F #9F347E #9F8B34 #349F56
split-complementary
#34489F #9F5634 #7E9F34
monochromatic
#161E43 #253371 #34489F #4C62C4 #7A8BD3
Accessibility & contrast
On white
8.16
#34489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#34489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34489F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34489F | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #34489f; /* rgb */ color: rgb(52, 72, 159); /* oklch */ color: oklch(43.7% 0.143 269.8);
Tailwind
colors: {
custom: {
50: '#787abc',
500: '#34489f',
950: '#000000',
},
}SCSS
$custom: #34489f; $custom-light: #787abc; $custom-dark: #000000;
JSON
{
"hex": "#34489f",
"rgb": {
"r": 52,
"g": 72,
"b": 159
},
"hsl": {
"h": 228.785,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.43667,
"c": 0.14284,
"h": 269.8
},
"luminance": 0.07868
}Semantic roles & 50–950 ramp
primary
#34489F
secondary
#BCAE73
accent
#C04EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81