#2E1FD2#2E1FD2
#2E1FD2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.3% C 0.249 H 271.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1FD2 |
|---|---|
| RGB | rgb(46, 31, 210) |
| HSL | hsl(245, 74%, 47%) |
| HSV | hsv(245, 85%, 82%) |
| CMYK | cmyk(78.1%, 85.2%, 0%, 17.6%) |
| CIE-LAB | lab(29.94, 61.20, -86.08) |
| CIE-LCH | lch(29.94, 105.62, 305.41°) |
| OKLab | oklab(42.34% 0.0076 -0.2489) |
| OKLCH | oklch(42.34% 0.249 271.7) |
| XYZ | xyz(13.2457, 6.2125, 61.4613) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine Blue
#1805DB
ΔE00 2.56
Pure Blue
#0203E2
ΔE00 2.84
True Blue
#010FCC
ΔE00 3.14
Violet Blue
#510AC9
ΔE00 3.79
Strong Blue
#0C06F7
ΔE00 3.92
Mediumblue
#0000CD
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1FD2 #C3D21F
analogous
#1F69D2 #2E1FD2 #881FD2
triadic
#2E1FD2 #D22E1F #1FD22E
tetradic
#2E1FD2 #D21F69 #C3D21F #1FD288
square
#2E1FD2 #D21F69 #C3D21F #1FD288
split-complementary
#2E1FD2 #D2881F #69D21F
monochromatic
#170F67 #22179D #2E1FD2 #574AE4 #887FEC
Accessibility & contrast
On white
9.36
#2E1FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E1FD2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1FD2
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1FD2 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FD7
Deuteranopia (green-blind)
#003ECF
Tritanopia (blue-blind)
#005B7D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e1fd2; /* rgb */ color: rgb(46, 31, 210); /* oklch */ color: oklch(42.3% 0.249 271.7);
Tailwind
colors: {
custom: {
50: '#8562e1',
500: '#2e1fd2',
950: '#000000',
},
}SCSS
$custom: #2e1fd2; $custom-light: #8562e1; $custom-dark: #000000;
JSON
{
"hex": "#2e1fd2",
"rgb": {
"r": 46,
"g": 31,
"b": 210
},
"hsl": {
"h": 245.028,
"s": 74.274,
"l": 47.255
},
"oklch": {
"l": 0.42343,
"c": 0.24906,
"h": 271.7
},
"luminance": 0.06214
}Semantic roles & 50–950 ramp
primary
#2E1FD2
secondary
#CDD478
accent
#F137E1
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84