#2E36B8#2E36B8
#2E36B8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.200 H 271.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2E36B8 |
|---|---|
| RGB | rgb(46, 54, 184) |
| HSL | hsl(237, 60%, 45%) |
| HSV | hsv(237, 75%, 72%) |
| CMYK | cmyk(75%, 70.7%, 0%, 27.8%) |
| CIE-LAB | lab(31.06, 41.50, -68.97) |
| CIE-LCH | lch(31.06, 80.49, 301.03°) |
| OKLab | oklab(42.29% 0.0052 -0.1996) |
| OKLCH | oklch(42.29% 0.2 271.5) |
| XYZ | xyz(11.0947, 6.6787, 46.0425) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blue Blue
#2242C7
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 5.13
Blurple
#5539CC
ΔE00 5.65
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E36B8 #B8B02E
analogous
#2E7BB8 #2E36B8 #6B2EB8
triadic
#2E36B8 #B82E36 #36B82E
tetradic
#2E36B8 #B82E7B #B8B02E #2EB86B
square
#2E36B8 #B82E7B #B8B02E #2EB86B
split-complementary
#2E36B8 #B86B2E #7BB82E
monochromatic
#161956 #222887 #2E36B8 #5058D3 #8186DF
Accessibility & contrast
On white
8.99
#2E36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2E36B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E36B8
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E36B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E36B8 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e36b8; /* rgb */ color: rgb(46, 54, 184); /* oklch */ color: oklch(42.3% 0.200 271.5);
Tailwind
colors: {
custom: {
50: '#7d6ecf',
500: '#2e36b8',
950: '#000000',
},
}SCSS
$custom: #2e36b8; $custom-light: #7d6ecf; $custom-dark: #000000;
JSON
{
"hex": "#2e36b8",
"rgb": {
"r": 46,
"g": 54,
"b": 184
},
"hsl": {
"h": 236.522,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.42292,
"c": 0.19968,
"h": 271.5
},
"luminance": 0.0668
}Semantic roles & 50–950 ramp
primary
#2E36B8
secondary
#C8C479
accent
#DA45E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82