#2E35B5#2E35B5
#2E35B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.197 H 271.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E35B5 |
|---|---|
| RGB | rgb(46, 53, 181) |
| HSL | hsl(237, 59%, 45%) |
| HSV | hsv(237, 75%, 71%) |
| CMYK | cmyk(74.6%, 70.7%, 0%, 29%) |
| CIE-LAB | lab(30.55, 41.06, -68.04) |
| CIE-LCH | lch(30.55, 79.47, 301.11°) |
| OKLab | oklab(41.83% 0.0061 -0.1969) |
| OKLCH | oklch(41.83% 0.197 271.8) |
| XYZ | xyz(10.7375, 6.4621, 44.3885) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blue Blue
#2242C7
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 4.98
Blue With A Hint Of Purple
#533CC6
ΔE00 5.41
Blurple
#5539CC
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E35B5 #B5AE2E
analogous
#2E79B5 #2E35B5 #6B2EB5
triadic
#2E35B5 #B52E35 #35B52E
tetradic
#2E35B5 #B52E79 #B5AE2E #2EB56B
square
#2E35B5 #B52E79 #B5AE2E #2EB56B
split-complementary
#2E35B5 #B56B2E #79B52E
monochromatic
#151853 #222784 #2E35B5 #4E55D2 #7F84DE
Accessibility & contrast
On white
9.16
#2E35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E35B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E35B5
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E35B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E35B5 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e35b5; /* rgb */ color: rgb(46, 53, 181); /* oklch */ color: oklch(41.8% 0.197 271.8);
Tailwind
colors: {
custom: {
50: '#7c6dcc',
500: '#2e35b5',
950: '#000000',
},
}SCSS
$custom: #2e35b5; $custom-light: #7c6dcc; $custom-dark: #000000;
JSON
{
"hex": "#2e35b5",
"rgb": {
"r": 46,
"g": 53,
"b": 181
},
"hsl": {
"h": 236.889,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.41833,
"c": 0.19698,
"h": 271.8
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#2E35B5
secondary
#C7C378
accent
#DA45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82