#34458F#34458F
#34458F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.124 H 270.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #34458F |
|---|---|
| RGB | rgb(52, 69, 143) |
| HSL | hsl(229, 47%, 38%) |
| HSV | hsv(229, 64%, 56%) |
| CMYK | cmyk(63.6%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.74, 17.84, -43.16) |
| CIE-LCH | lch(31.74, 46.70, 292.46°) |
| OKLab | oklab(41.82% 0.0011 -0.1236) |
| OKLCH | oklch(41.82% 0.124 270.5) |
| XYZ | xyz(8.5006, 6.9688, 26.8784) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.93
Blueberry
#464196
ΔE00 4.42
Cobalt
#0047AB
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.72
Twilight
#4E518B
ΔE00 5.99
Darkish Blue
#014182
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34458F #8F7E34
analogous
#34728F #34458F #50348F
triadic
#34458F #8F3445 #458F34
tetradic
#34458F #8F3472 #8F7E34 #348F50
square
#34458F #8F3472 #8F7E34 #348F50
split-complementary
#34458F #8F5034 #728F34
monochromatic
#131A35 #242F62 #34458F #455BBB #7283CC
Accessibility & contrast
On white
8.77
#34458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#34458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34458F
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34458F | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #34458f; /* rgb */ color: rgb(52, 69, 143); /* oklch */ color: oklch(41.8% 0.124 270.5);
Tailwind
colors: {
custom: {
50: '#7578b0',
500: '#34458f',
950: '#000000',
},
}SCSS
$custom: #34458f; $custom-light: #7578b0; $custom-dark: #000000;
JSON
{
"hex": "#34458f",
"rgb": {
"r": 52,
"g": 69,
"b": 143
},
"hsl": {
"h": 228.791,
"s": 46.667,
"l": 38.235
},
"oklch": {
"l": 0.41818,
"c": 0.12362,
"h": 270.5
},
"luminance": 0.06969
}Semantic roles & 50–950 ramp
primary
#34458F
secondary
#B4A66B
accent
#BD51D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F