#2E2FE3#2E2FE3
#2E2FE3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.257 H 270.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FE3 |
|---|---|
| RGB | rgb(46, 47, 227) |
| HSL | hsl(240, 76%, 54%) |
| HSV | hsv(240, 80%, 89%) |
| CMYK | cmyk(79.7%, 79.3%, 0%, 11%) |
| CIE-LAB | lab(34.31, 59.24, -88.61) |
| CIE-LCH | lch(34.31, 106.59, 303.77°) |
| OKLab | oklab(45.93% 0.0005 -0.2566) |
| OKLCH | oklch(45.93% 0.257 270.1) |
| XYZ | xyz(16.0036, 8.1581, 73.3894) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.04
Rich Blue
#021BF9
ΔE00 3.17
Vibrant Blue
#0339F8
ΔE00 3.48
Light Royal Blue
#3A2EFE
ΔE00 3.63
Strong Blue
#0C06F7
ΔE00 4.42
Blurple
#5539CC
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FE3 #E3E22E
analogous
#2E89E3 #2E2FE3 #882EE3
triadic
#2E2FE3 #E32E2F #2FE32E
tetradic
#2E2FE3 #E32E89 #E3E22E #2EE388
square
#2E2FE3 #E32E89 #E3E22E #2EE388
split-complementary
#2E2FE3 #E3882E #89E32E
monochromatic
#121285 #191ABB #2E2FE3 #6465EA #9A9AF1
Accessibility & contrast
On white
7.98
#2E2FE3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2E2FE3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FE3
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FE3 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e2fe3; /* rgb */ color: rgb(46, 47, 227); /* oklch */ color: oklch(45.9% 0.257 270.1);
Tailwind
colors: {
custom: {
50: '#886ced',
500: '#2e2fe3',
950: '#000000',
},
}SCSS
$custom: #2e2fe3; $custom-light: #886ced; $custom-dark: #000000;
JSON
{
"hex": "#2e2fe3",
"rgb": {
"r": 46,
"g": 47,
"b": 227
},
"hsl": {
"h": 239.669,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.45935,
"c": 0.25659,
"h": 270.1
},
"luminance": 0.0816
}Semantic roles & 50–950 ramp
primary
#2E2FE3
secondary
#DDDD90
accent
#F235F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85