#2E36B7#2E36B7
#2E36B7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.198 H 271.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E36B7 |
|---|---|
| RGB | rgb(46, 54, 183) |
| HSL | hsl(236, 60%, 45%) |
| HSV | hsv(236, 75%, 72%) |
| CMYK | cmyk(74.9%, 70.5%, 0%, 28.2%) |
| CIE-LAB | lab(30.97, 41.15, -68.54) |
| CIE-LCH | lch(30.97, 79.95, 300.98°) |
| OKLab | oklab(42.19% 0.0054 -0.1983) |
| OKLCH | oklch(42.19% 0.198 271.5) |
| XYZ | xyz(10.9902, 6.6369, 45.4924) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Blue Blue
#2242C7
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 4.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Blurple
#5539CC
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E36B7 #B7AF2E
analogous
#2E7BB7 #2E36B7 #6A2EB7
triadic
#2E36B7 #B72E36 #36B72E
tetradic
#2E36B7 #B72E7B #B7AF2E #2EB76A
square
#2E36B7 #B72E7B #B7AF2E #2EB76A
split-complementary
#2E36B7 #B76A2E #7BB72E
monochromatic
#151955 #222886 #2E36B7 #4F57D3 #8086DF
Accessibility & contrast
On white
9.02
#2E36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E36B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E36B7
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E36B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E36B7 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e36b7; /* rgb */ color: rgb(46, 54, 183); /* oklch */ color: oklch(42.2% 0.198 271.5);
Tailwind
colors: {
custom: {
50: '#7c6ece',
500: '#2e36b7',
950: '#000000',
},
}SCSS
$custom: #2e36b7; $custom-light: #7c6ece; $custom-dark: #000000;
JSON
{
"hex": "#2e36b7",
"rgb": {
"r": 46,
"g": 54,
"b": 183
},
"hsl": {
"h": 236.496,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.42192,
"c": 0.19842,
"h": 271.5
},
"luminance": 0.06638
}Semantic roles & 50–950 ramp
primary
#2E36B7
secondary
#C8C379
accent
#DA45E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82