#2E31E3#2E31E3
#2E31E3 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 46.2% C 0.255 H 270.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2E31E3 |
|---|---|
| RGB | rgb(46, 49, 227) |
| HSL | hsl(239, 76%, 54%) |
| HSV | hsv(239, 80%, 89%) |
| CMYK | cmyk(79.7%, 78.4%, 0%, 11%) |
| CIE-LAB | lab(34.64, 58.27, -88.06) |
| CIE-LCH | lch(34.64, 105.60, 303.49°) |
| OKLab | oklab(46.17% 0 -0.255) |
| OKLCH | oklch(46.17% 0.255 270) |
| XYZ | xyz(16.0854, 8.3217, 73.4166) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 2.96
Vibrant Blue
#0339F8
ΔE00 3.19
Rich Blue
#021BF9
ΔE00 3.46
Light Royal Blue
#3A2EFE
ΔE00 3.56
Blurple
#5539CC
ΔE00 4.31
Strong Blue
#0C06F7
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E31E3 #E3E02E
analogous
#2E8BE3 #2E31E3 #862EE3
triadic
#2E31E3 #E32E31 #31E32E
tetradic
#2E31E3 #E32E8B #E3E02E #2EE386
square
#2E31E3 #E32E8B #E3E02E #2EE386
split-complementary
#2E31E3 #E3862E #8BE32E
monochromatic
#121485 #191CBB #2E31E3 #6466EA #9A9BF1
Accessibility & contrast
On white
7.88
#2E31E3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2E31E3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E31E3
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E31E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E31E3 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BE8
Deuteranopia (green-blind)
#0048E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e31e3; /* rgb */ color: rgb(46, 49, 227); /* oklch */ color: oklch(46.2% 0.255 270.0);
Tailwind
colors: {
custom: {
50: '#876ded',
500: '#2e31e3',
950: '#000000',
},
}SCSS
$custom: #2e31e3; $custom-light: #876ded; $custom-dark: #000000;
JSON
{
"hex": "#2e31e3",
"rgb": {
"r": 46,
"g": 49,
"b": 227
},
"hsl": {
"h": 239.006,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.46169,
"c": 0.25502,
"h": 270
},
"luminance": 0.08324
}Semantic roles & 50–950 ramp
primary
#2E31E3
secondary
#DDDC90
accent
#F035F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85