#34398E#34398E
#34398E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.138 H 275.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #34398E |
|---|---|
| RGB | rgb(52, 57, 142) |
| HSL | hsl(237, 46%, 38%) |
| HSV | hsv(237, 63%, 56%) |
| CMYK | cmyk(63.4%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.40, 25.52, -47.93) |
| CIE-LCH | lch(28.40, 54.30, 298.03°) |
| OKLab | oklab(39.3% 0.0132 -0.1378) |
| OKLCH | oklch(39.3% 0.138 275.5) |
| XYZ | xyz(7.7602, 5.6087, 26.2596) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.46
Darkslateblue
#483D8B
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 7.27
Cobalt (survey)
#1E488F
ΔE00 7.34
Cobalt
#0047AB
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34398E #8E8934
analogous
#34668E #34398E #5C348E
triadic
#34398E #8E3439 #398E34
tetradic
#34398E #8E3466 #8E8934 #348E5C
square
#34398E #8E3466 #8E8934 #348E5C
split-complementary
#34398E #8E5C34 #668E34
monochromatic
#131534 #242761 #34398E #444BBB #7176CB
Accessibility & contrast
On white
9.90
#34398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#34398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34398E
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34398E | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #34398e; /* rgb */ color: rgb(52, 57, 142); /* oklch */ color: oklch(39.3% 0.138 275.5);
Tailwind
colors: {
custom: {
50: '#766fb0',
500: '#34398e',
950: '#000000',
},
}SCSS
$custom: #34398e; $custom-light: #766fb0; $custom-dark: #000000;
JSON
{
"hex": "#34398e",
"rgb": {
"r": 52,
"g": 57,
"b": 142
},
"hsl": {
"h": 236.667,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.39296,
"c": 0.13844,
"h": 275.5
},
"luminance": 0.05609
}Semantic roles & 50–950 ramp
primary
#34398E
secondary
#B3AF6A
accent
#CF52D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F