#2E2FE2#2E2FE2
#2E2FE2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.255 H 270.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FE2 |
|---|---|
| RGB | rgb(46, 47, 226) |
| HSL | hsl(240, 76%, 53%) |
| HSV | hsv(240, 80%, 89%) |
| CMYK | cmyk(79.6%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(34.20, 58.94, -88.23) |
| CIE-LCH | lch(34.20, 106.11, 303.74°) |
| OKLab | oklab(45.82% 0.0007 -0.2555) |
| OKLCH | oklch(45.82% 0.255 270.2) |
| XYZ | xyz(15.8660, 8.1030, 72.6646) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.16
Rich Blue
#021BF9
ΔE00 3.23
Vibrant Blue
#0339F8
ΔE00 3.57
Light Royal Blue
#3A2EFE
ΔE00 3.75
Blurple
#5539CC
ΔE00 4.39
Strong Blue
#0C06F7
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FE2 #E2E12E
analogous
#2E89E2 #2E2FE2 #872EE2
triadic
#2E2FE2 #E22E2F #2FE22E
tetradic
#2E2FE2 #E22E89 #E2E12E #2EE287
square
#2E2FE2 #E22E89 #E2E12E #2EE287
split-complementary
#2E2FE2 #E2872E #89E22E
monochromatic
#121383 #1A1BB9 #2E2FE2 #6464E9 #999AF1
Accessibility & contrast
On white
8.01
#2E2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2E2FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FE2
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FE2 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e2fe2; /* rgb */ color: rgb(46, 47, 226); /* oklch */ color: oklch(45.8% 0.255 270.2);
Tailwind
colors: {
custom: {
50: '#876ced',
500: '#2e2fe2',
950: '#000000',
},
}SCSS
$custom: #2e2fe2; $custom-light: #876ced; $custom-dark: #000000;
JSON
{
"hex": "#2e2fe2",
"rgb": {
"r": 46,
"g": 47,
"b": 226
},
"hsl": {
"h": 239.667,
"s": 75.63,
"l": 53.333
},
"oklch": {
"l": 0.45823,
"c": 0.25548,
"h": 270.2
},
"luminance": 0.08105
}Semantic roles & 50–950 ramp
primary
#2E2FE2
secondary
#DDDC8F
accent
#F136F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85