#2E30E3#2E30E3
#2E30E3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.1% C 0.256 H 270.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30E3 |
|---|---|
| RGB | rgb(46, 48, 227) |
| HSL | hsl(239, 76%, 54%) |
| HSV | hsv(239, 80%, 89%) |
| CMYK | cmyk(79.7%, 78.9%, 0%, 11%) |
| CIE-LAB | lab(34.48, 58.76, -88.34) |
| CIE-LCH | lch(34.48, 106.10, 303.63°) |
| OKLab | oklab(46.05% 0.0003 -0.2558) |
| OKLCH | oklch(46.05% 0.256 270.1) |
| XYZ | xyz(16.0441, 8.2389, 73.4028) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 2.99
Rich Blue
#021BF9
ΔE00 3.31
Vibrant Blue
#0339F8
ΔE00 3.33
Light Royal Blue
#3A2EFE
ΔE00 3.59
Blurple
#5539CC
ΔE00 4.36
Strong Blue
#0C06F7
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30E3 #E3E12E
analogous
#2E8AE3 #2E30E3 #862EE3
triadic
#2E30E3 #E32E30 #30E32E
tetradic
#2E30E3 #E32E8A #E3E12E #2EE386
square
#2E30E3 #E32E8A #E3E12E #2EE386
split-complementary
#2E30E3 #E3862E #8AE32E
monochromatic
#121385 #191BBB #2E30E3 #6465EA #9A9BF1
Accessibility & contrast
On white
7.93
#2E30E3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2E30E3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30E3
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30E3 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0048E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e30e3; /* rgb */ color: rgb(46, 48, 227); /* oklch */ color: oklch(46.1% 0.256 270.1);
Tailwind
colors: {
custom: {
50: '#876ced',
500: '#2e30e3',
950: '#000000',
},
}SCSS
$custom: #2e30e3; $custom-light: #876ced; $custom-dark: #000000;
JSON
{
"hex": "#2e30e3",
"rgb": {
"r": 46,
"g": 48,
"b": 227
},
"hsl": {
"h": 239.337,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.46051,
"c": 0.25581,
"h": 270.1
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#2E30E3
secondary
#DDDC90
accent
#F135F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85