#2E35B2#2E35B2
#2E35B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.193 H 271.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E35B2 |
|---|---|
| RGB | rgb(46, 53, 178) |
| HSL | hsl(237, 59%, 44%) |
| HSV | hsv(237, 74%, 70%) |
| CMYK | cmyk(74.2%, 70.2%, 0%, 30.2%) |
| CIE-LAB | lab(30.26, 40.03, -66.74) |
| CIE-LCH | lch(30.26, 77.82, 300.95°) |
| OKLab | oklab(41.53% 0.0065 -0.1931) |
| OKLCH | oklch(41.53% 0.193 271.9) |
| XYZ | xyz(10.4330, 6.3403, 42.7848) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blue Blue
#2242C7
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.06
Blue With A Hint Of Purple
#533CC6
ΔE00 5.67
Blueberry
#464196
ΔE00 6.20
Blurple
#5539CC
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E35B2 #B2AB2E
analogous
#2E77B2 #2E35B2 #692EB2
triadic
#2E35B2 #B22E35 #35B22E
tetradic
#2E35B2 #B22E77 #B2AB2E #2EB269
square
#2E35B2 #B22E77 #B2AB2E #2EB269
split-complementary
#2E35B2 #B2692E #77B22E
monochromatic
#151851 #212781 #2E35B2 #4C53D1 #7D82DD
Accessibility & contrast
On white
9.26
#2E35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2E35B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E35B2
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E35B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E35B2 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e35b2; /* rgb */ color: rgb(46, 53, 178); /* oklch */ color: oklch(41.5% 0.193 271.9);
Tailwind
colors: {
custom: {
50: '#7b6dca',
500: '#2e35b2',
950: '#000000',
},
}SCSS
$custom: #2e35b2; $custom-light: #7b6dca; $custom-dark: #000000;
JSON
{
"hex": "#2e35b2",
"rgb": {
"r": 46,
"g": 53,
"b": 178
},
"hsl": {
"h": 236.818,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.41533,
"c": 0.1932,
"h": 271.9
},
"luminance": 0.06341
}Semantic roles & 50–950 ramp
primary
#2E35B2
secondary
#C6C276
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82