#34259C#34259C
#34259C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.181 H 278.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #34259C |
|---|---|
| RGB | rgb(52, 37, 156) |
| HSL | hsl(248, 62%, 38%) |
| HSV | hsv(248, 76%, 61%) |
| CMYK | cmyk(66.7%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(25.12, 42.60, -61.92) |
| CIE-LCH | lch(25.12, 75.16, 304.53°) |
| OKLab | oklab(37.31% 0.0273 -0.1788) |
| OKLCH | oklch(37.31% 0.181 278.7) |
| XYZ | xyz(8.0766, 4.4528, 31.8799) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Royal
#0C1793
ΔE00 4.39
Cobalt Blue
#030AA7
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.59
Royal Blue (survey)
#0504AA
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34259C #8D9C25
analogous
#25519C #34259C #6F259C
triadic
#34259C #9C3425 #259C34
tetradic
#34259C #9C2551 #8D9C25 #259C6F
square
#34259C #9C2551 #8D9C25 #259C6F
split-complementary
#34259C #9C6F25 #519C25
monochromatic
#130E39 #24196B #34259C #4431CD #7162DA
Accessibility & contrast
On white
11.11
#34259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#34259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34259C
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34259C | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #34259c; /* rgb */ color: rgb(52, 37, 156); /* oklch */ color: oklch(37.3% 0.181 278.7);
Tailwind
colors: {
custom: {
50: '#7a62ba',
500: '#34259c',
950: '#000000',
},
}SCSS
$custom: #34259c; $custom-light: #7a62ba; $custom-dark: #000000;
JSON
{
"hex": "#34259c",
"rgb": {
"r": 52,
"g": 37,
"b": 156
},
"hsl": {
"h": 247.563,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.37308,
"c": 0.18088,
"h": 278.7
},
"luminance": 0.04454
}Semantic roles & 50–950 ramp
primary
#34259C
secondary
#B3BF5E
accent
#E543D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981