#3A36B6#3A36B6
#3A36B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.194 H 275.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A36B6 |
|---|---|
| RGB | rgb(58, 54, 182) |
| HSL | hsl(242, 54%, 46%) |
| HSV | hsv(242, 70%, 71%) |
| CMYK | cmyk(68.1%, 70.3%, 0%, 28.6%) |
| CIE-LAB | lab(31.61, 42.12, -66.86) |
| CIE-LCH | lch(31.61, 79.02, 302.21°) |
| OKLab | oklab(42.82% 0.0195 -0.1931) |
| OKLCH | oklch(42.82% 0.194 275.8) |
| XYZ | xyz(11.5048, 6.9142, 44.9752) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 3.95
Blue With A Hint Of Purple
#533CC6
ΔE00 4.25
Blue Blue
#2242C7
ΔE00 4.62
Blurple
#5539CC
ΔE00 4.81
Blueberry
#464196
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A36B6 #B2B636
analogous
#3672B6 #3A36B6 #7A36B6
triadic
#3A36B6 #B63A36 #36B63A
tetradic
#3A36B6 #B63672 #B2B636 #36B67A
square
#3A36B6 #B63672 #B2B636 #36B67A
split-complementary
#3A36B6 #B67A36 #72B636
monochromatic
#1C1A58 #2B2887 #3A36B6 #5F5BCE #8D8ADC
Accessibility & contrast
On white
8.81
#3A36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3A36B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A36B6
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A36B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A36B6 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a36b6; /* rgb */ color: rgb(58, 54, 182); /* oklch */ color: oklch(42.8% 0.194 275.8);
Tailwind
colors: {
custom: {
50: '#816ecd',
500: '#3a36b6',
950: '#000000',
},
}SCSS
$custom: #3a36b6; $custom-light: #816ecd; $custom-dark: #000000;
JSON
{
"hex": "#3a36b6",
"rgb": {
"r": 58,
"g": 54,
"b": 182
},
"hsl": {
"h": 241.875,
"s": 54.237,
"l": 46.275
},
"oklch": {
"l": 0.42823,
"c": 0.19413,
"h": 275.8
},
"luminance": 0.06915
}Semantic roles & 50–950 ramp
primary
#3A36B6
secondary
#C4C681
accent
#DE4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82