#2E36B2#2E36B2
#2E36B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.192 H 271.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E36B2 |
|---|---|
| RGB | rgb(46, 54, 178) |
| HSL | hsl(236, 59%, 44%) |
| HSV | hsv(236, 74%, 70%) |
| CMYK | cmyk(74.2%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(30.48, 39.42, -66.37) |
| CIE-LCH | lch(30.48, 77.19, 300.70°) |
| OKLab | oklab(41.69% 0.006 -0.192) |
| OKLCH | oklch(41.69% 0.192 271.8) |
| XYZ | xyz(10.4790, 6.4324, 42.8002) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blue Blue
#2242C7
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.93
Blue With A Hint Of Purple
#533CC6
ΔE00 5.64
Blueberry
#464196
ΔE00 6.07
Blurple
#5539CC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E36B2 #B2AA2E
analogous
#2E78B2 #2E36B2 #682EB2
triadic
#2E36B2 #B22E36 #36B22E
tetradic
#2E36B2 #B22E78 #B2AA2E #2EB268
square
#2E36B2 #B22E78 #B2AA2E #2EB268
split-complementary
#2E36B2 #B2682E #78B22E
monochromatic
#151851 #212781 #2E36B2 #4C54D1 #7D83DD
Accessibility & contrast
On white
9.18
#2E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E36B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E36B2
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E36B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E36B2 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e36b2; /* rgb */ color: rgb(46, 54, 178); /* oklch */ color: oklch(41.7% 0.192 271.8);
Tailwind
colors: {
custom: {
50: '#7b6eca',
500: '#2e36b2',
950: '#000000',
},
}SCSS
$custom: #2e36b2; $custom-light: #7b6eca; $custom-dark: #000000;
JSON
{
"hex": "#2e36b2",
"rgb": {
"r": 46,
"g": 54,
"b": 178
},
"hsl": {
"h": 236.364,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.41693,
"c": 0.19211,
"h": 271.8
},
"luminance": 0.06434
}Semantic roles & 50–950 ramp
primary
#2E36B2
secondary
#C6C176
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82