#2E35B6#2E35B6
#2E35B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.198 H 271.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E35B6 |
|---|---|
| RGB | rgb(46, 53, 182) |
| HSL | hsl(237, 60%, 45%) |
| HSV | hsv(237, 75%, 71%) |
| CMYK | cmyk(74.7%, 70.9%, 0%, 28.6%) |
| CIE-LAB | lab(30.65, 41.41, -68.47) |
| CIE-LCH | lch(30.65, 80.02, 301.16°) |
| OKLab | oklab(41.93% 0.006 -0.1981) |
| OKLCH | oklch(41.93% 0.198 271.7) |
| XYZ | xyz(10.8405, 6.5033, 44.9308) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.50
Blue Blue
#2242C7
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.33
Blurple
#5539CC
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E35B6 #B6AF2E
analogous
#2E79B6 #2E35B6 #6B2EB6
triadic
#2E35B6 #B62E35 #35B62E
tetradic
#2E35B6 #B62E79 #B6AF2E #2EB66B
square
#2E35B6 #B62E79 #B6AF2E #2EB66B
split-complementary
#2E35B6 #B66B2E #79B62E
monochromatic
#151954 #222785 #2E35B6 #4F56D2 #8085DF
Accessibility & contrast
On white
9.13
#2E35B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E35B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E35B6
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E35B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E35B6 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e35b6; /* rgb */ color: rgb(46, 53, 182); /* oklch */ color: oklch(41.9% 0.198 271.7);
Tailwind
colors: {
custom: {
50: '#7c6dcd',
500: '#2e35b6',
950: '#000000',
},
}SCSS
$custom: #2e35b6; $custom-light: #7c6dcd; $custom-dark: #000000;
JSON
{
"hex": "#2e35b6",
"rgb": {
"r": 46,
"g": 53,
"b": 182
},
"hsl": {
"h": 236.912,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.41934,
"c": 0.19823,
"h": 271.7
},
"luminance": 0.06504
}Semantic roles & 50–950 ramp
primary
#2E35B6
secondary
#C8C478
accent
#DB45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82