#34398F#34398F
#34398F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.140 H 275.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #34398F |
|---|---|
| RGB | rgb(52, 57, 143) |
| HSL | hsl(237, 47%, 38%) |
| HSV | hsv(237, 64%, 56%) |
| CMYK | cmyk(63.6%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.48, 25.88, -48.42) |
| CIE-LCH | lch(28.48, 54.90, 298.12°) |
| OKLab | oklab(39.38% 0.0132 -0.1393) |
| OKLCH | oklch(39.38% 0.14 275.4) |
| XYZ | xyz(7.8356, 5.6389, 26.6568) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.42
Darkslateblue
#483D8B
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 7.14
Cobalt (survey)
#1E488F
ΔE00 7.36
Cobalt
#0047AB
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34398F #8F8A34
analogous
#34668F #34398F #5C348F
triadic
#34398F #8F3439 #398F34
tetradic
#34398F #8F3466 #8F8A34 #348F5C
square
#34398F #8F3466 #8F8A34 #348F5C
split-complementary
#34398F #8F5C34 #668F34
monochromatic
#131535 #242762 #34398F #454BBB #7277CC
Accessibility & contrast
On white
9.87
#34398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#34398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34398F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34398F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #34398f; /* rgb */ color: rgb(52, 57, 143); /* oklch */ color: oklch(39.4% 0.140 275.4);
Tailwind
colors: {
custom: {
50: '#766fb0',
500: '#34398f',
950: '#000000',
},
}SCSS
$custom: #34398f; $custom-light: #766fb0; $custom-dark: #000000;
JSON
{
"hex": "#34398f",
"rgb": {
"r": 52,
"g": 57,
"b": 143
},
"hsl": {
"h": 236.703,
"s": 46.667,
"l": 38.235
},
"oklch": {
"l": 0.3938,
"c": 0.13987,
"h": 275.4
},
"luminance": 0.05639
}Semantic roles & 50–950 ramp
primary
#34398F
secondary
#B4B06B
accent
#CF51D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80