#34389C#34389C
#34389C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.159 H 274.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #34389C |
|---|---|
| RGB | rgb(52, 56, 156) |
| HSL | hsl(238, 50%, 41%) |
| HSV | hsv(238, 67%, 61%) |
| CMYK | cmyk(66.7%, 64.1%, 0%, 38.8%) |
| CIE-LAB | lab(29.31, 31.16, -55.04) |
| CIE-LCH | lch(29.31, 63.25, 299.52°) |
| OKLab | oklab(40.32% 0.0136 -0.1587) |
| OKLCH | oklch(40.32% 0.159 274.9) |
| XYZ | xyz(8.8291, 5.9579, 32.1308) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blueberry
#464196
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 4.83
Ocean Blue
#4F42B5
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 6.48
Cobalt
#0047AB
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34389C #9C9834
analogous
#346C9C #34389C #64349C
triadic
#34389C #9C3438 #389C34
tetradic
#34389C #9C346C #9C9834 #349C64
square
#34389C #9C346C #9C9834 #349C64
split-complementary
#34389C #9C6434 #6C9C34
monochromatic
#151740 #25286E #34389C #4A4FC3 #787CD2
Accessibility & contrast
On white
9.58
#34389C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#34389C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34389C
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34389C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34389C | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #34389c; /* rgb */ color: rgb(52, 56, 156); /* oklch */ color: oklch(40.3% 0.159 274.9);
Tailwind
colors: {
custom: {
50: '#796fba',
500: '#34389c',
950: '#000000',
},
}SCSS
$custom: #34389c; $custom-light: #796fba; $custom-dark: #000000;
JSON
{
"hex": "#34389c",
"rgb": {
"r": 52,
"g": 56,
"b": 156
},
"hsl": {
"h": 237.692,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.40323,
"c": 0.15927,
"h": 274.9
},
"luminance": 0.05959
}Semantic roles & 50–950 ramp
primary
#34389C
secondary
#BBB871
accent
#D44EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81