#3A36B2#3A36B2
#3A36B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.189 H 276.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A36B2 |
|---|---|
| RGB | rgb(58, 54, 178) |
| HSL | hsl(242, 53%, 45%) |
| HSV | hsv(242, 70%, 70%) |
| CMYK | cmyk(67.4%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(31.23, 40.79, -65.10) |
| CIE-LCH | lch(31.23, 76.82, 302.07°) |
| OKLab | oklab(42.44% 0.0201 -0.188) |
| OKLCH | oklch(42.44% 0.189 276.1) |
| XYZ | xyz(11.0973, 6.7512, 42.8291) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 4.01
Blue With A Hint Of Purple
#533CC6
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 4.87
Blurple
#5539CC
ΔE00 5.22
Blueberry
#464196
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A36B2 #AEB236
analogous
#3670B2 #3A36B2 #7836B2
triadic
#3A36B2 #B23A36 #36B23A
tetradic
#3A36B2 #B23670 #AEB236 #36B278
square
#3A36B2 #B23670 #AEB236 #36B278
split-complementary
#3A36B2 #B27836 #70B236
monochromatic
#1B1A54 #2B2883 #3A36B2 #5C59CD #8A88DB
Accessibility & contrast
On white
8.93
#3A36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#3A36B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A36B2
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A36B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A36B2 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3a36b2; /* rgb */ color: rgb(58, 54, 178); /* oklch */ color: oklch(42.4% 0.189 276.1);
Tailwind
colors: {
custom: {
50: '#806eca',
500: '#3a36b2',
950: '#000000',
},
}SCSS
$custom: #3a36b2; $custom-light: #806eca; $custom-dark: #000000;
JSON
{
"hex": "#3a36b2",
"rgb": {
"r": 58,
"g": 54,
"b": 178
},
"hsl": {
"h": 241.935,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.42437,
"c": 0.18908,
"h": 276.1
},
"luminance": 0.06752
}Semantic roles & 50–950 ramp
primary
#3A36B2
secondary
#C2C57F
accent
#DD4BD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82