#34267E#34267E
#34267E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.141 H 283.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #34267E |
|---|---|
| RGB | rgb(52, 38, 126) |
| HSL | hsl(250, 54%, 32%) |
| HSV | hsv(250, 70%, 49%) |
| CMYK | cmyk(58.7%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(22.38, 32.25, -47.75) |
| CIE-LCH | lch(22.38, 57.62, 304.03°) |
| OKLab | oklab(34.47% 0.0327 -0.1374) |
| OKLCH | oklch(34.47% 0.141 283.4) |
| XYZ | xyz(5.8740, 3.6223, 20.1243) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.62
Royal
#0C1793
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.61
Blueberry
#464196
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34267E #707E26
analogous
#26447E #34267E #60267E
triadic
#34267E #7E3426 #267E34
tetradic
#34267E #7E2644 #707E26 #267E60
square
#34267E #7E2644 #707E26 #267E60
split-complementary
#34267E #7E6026 #447E26
monochromatic
#0D0A20 #21184F #34267E #4734AD #6653CB
Accessibility & contrast
On white
12.18
#34267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#34267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34267E
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34267E | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#0E3D4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #34267e; /* rgb */ color: rgb(52, 38, 126); /* oklch */ color: oklch(34.5% 0.141 283.4);
Tailwind
colors: {
custom: {
50: '#7461a4',
500: '#34267e',
950: '#000000',
},
}SCSS
$custom: #34267e; $custom-light: #7461a4; $custom-dark: #000000;
JSON
{
"hex": "#34267e",
"rgb": {
"r": 52,
"g": 38,
"b": 126
},
"hsl": {
"h": 249.545,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.34468,
"c": 0.14119,
"h": 283.4
},
"luminance": 0.03623
}Semantic roles & 50–950 ramp
primary
#34267E
secondary
#A0B050
accent
#DD4BC6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F