#34229E#34229E
#34229E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.186 H 278.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #34229E |
|---|---|
| RGB | rgb(52, 34, 158) |
| HSL | hsl(249, 65%, 38%) |
| HSV | hsv(249, 78%, 62%) |
| CMYK | cmyk(67.1%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(24.77, 44.81, -63.71) |
| CIE-LCH | lch(24.77, 77.89, 305.12°) |
| OKLab | oklab(37.13% 0.0286 -0.184) |
| OKLCH | oklch(37.13% 0.186 278.8) |
| XYZ | xyz(8.1578, 4.3421, 32.7493) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Royal
#0C1793
ΔE00 4.15
Cobalt Blue
#030AA7
ΔE00 4.69
Ultramarine
#2000B1
ΔE00 4.91
Royal Blue (survey)
#0504AA
ΔE00 5.07
True Blue
#010FCC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34229E #8C9E22
analogous
#224E9E #34229E #72229E
triadic
#34229E #9E3422 #229E34
tetradic
#34229E #9E224E #8C9E22 #229E72
square
#34229E #9E224E #8C9E22 #229E72
split-complementary
#34229E #9E7222 #4E9E22
monochromatic
#130C39 #23176C #34229E #452DD0 #705EDC
Accessibility & contrast
On white
11.24
#34229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#34229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34229E
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34229E | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #34229e; /* rgb */ color: rgb(52, 34, 158); /* oklch */ color: oklch(37.1% 0.186 278.8);
Tailwind
colors: {
custom: {
50: '#7b60bc',
500: '#34229e',
950: '#000000',
},
}SCSS
$custom: #34229e; $custom-light: #7b60bc; $custom-dark: #000000;
JSON
{
"hex": "#34229e",
"rgb": {
"r": 52,
"g": 34,
"b": 158
},
"hsl": {
"h": 248.71,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.3713,
"c": 0.18619,
"h": 278.8
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#34229E
secondary
#B2C15B
accent
#E840CF
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981