#34398C#34398C
#34398C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.136 H 275.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #34398C |
|---|---|
| RGB | rgb(52, 57, 140) |
| HSL | hsl(237, 46%, 38%) |
| HSV | hsv(237, 63%, 55%) |
| CMYK | cmyk(62.9%, 59.3%, 0%, 45.1%) |
| CIE-LAB | lab(28.25, 24.80, -46.96) |
| CIE-LCH | lch(28.25, 53.10, 297.84°) |
| OKLab | oklab(39.13% 0.0132 -0.1349) |
| OKLCH | oklch(39.13% 0.136 275.6) |
| XYZ | xyz(7.6114, 5.5492, 25.4759) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.55
Darkslateblue
#483D8B
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 7.31
Ocean Blue
#4F42B5
ΔE00 7.53
Cobalt
#0047AB
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34398C #8C8734
analogous
#34658C #34398C #5B348C
triadic
#34398C #8C3439 #398C34
tetradic
#34398C #8C3465 #8C8734 #348C5B
square
#34398C #8C3465 #8C8734 #348C5B
split-complementary
#34398C #8C5B34 #658C34
monochromatic
#131533 #23275F #34398C #454BB9 #7075CA
Accessibility & contrast
On white
9.95
#34398C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#34398C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34398C
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34398C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34398C | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #34398c; /* rgb */ color: rgb(52, 57, 140); /* oklch */ color: oklch(39.1% 0.136 275.6);
Tailwind
colors: {
custom: {
50: '#756fae',
500: '#34398c',
950: '#000000',
},
}SCSS
$custom: #34398c; $custom-light: #756fae; $custom-dark: #000000;
JSON
{
"hex": "#34398c",
"rgb": {
"r": 52,
"g": 57,
"b": 140
},
"hsl": {
"h": 236.591,
"s": 45.833,
"l": 37.647
},
"oklch": {
"l": 0.3913,
"c": 0.13557,
"h": 275.6
},
"luminance": 0.0555
}Semantic roles & 50–950 ramp
primary
#34398C
secondary
#B2AE6A
accent
#CE52D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F