#2E57DB#2E57DB
#2E57DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.3% C 0.207 H 265.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E57DB |
|---|---|
| RGB | rgb(46, 87, 219) |
| HSL | hsl(226, 71%, 52%) |
| HSV | hsv(226, 79%, 86%) |
| CMYK | cmyk(79%, 60.3%, 0%, 14.1%) |
| CIE-LAB | lab(42.02, 33.39, -71.35) |
| CIE-LCH | lch(42.02, 78.78, 295.08°) |
| OKLab | oklab(51.27% -0.0148 -0.2063) |
| OKLCH | oklch(51.27% 0.207 265.9) |
| XYZ | xyz(17.3166, 12.5097, 68.5061) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.87
Warm Blue
#4B57DB
ΔE00 3.11
Electric Blue
#0652FF
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.85
Royal Blue
#4169E1
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E57DB #DBB22E
analogous
#2EAEDB #2E57DB #5B2EDB
triadic
#2E57DB #DB2E57 #57DB2E
tetradic
#2E57DB #DB2EAE #DBB22E #2EDB5B
square
#2E57DB #DB2EAE #DBB22E #2EDB5B
split-complementary
#2E57DB #DB5B2E #AEDB2E
monochromatic
#152D7A #1E40AE #2E57DB #6281E4 #96ABED
Accessibility & contrast
On white
6.00
#2E57DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2E57DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E57DB
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E57DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E57DB | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e57db; /* rgb */ color: rgb(46, 87, 219); /* oklch */ color: oklch(51.3% 0.207 265.9);
Tailwind
colors: {
custom: {
50: '#8286e7',
500: '#2e57db',
950: '#000000',
},
}SCSS
$custom: #2e57db; $custom-light: #8286e7; $custom-dark: #000000;
JSON
{
"hex": "#2e57db",
"rgb": {
"r": 46,
"g": 87,
"b": 219
},
"hsl": {
"h": 225.78,
"s": 70.612,
"l": 51.961
},
"oklch": {
"l": 0.51272,
"c": 0.20687,
"h": 265.9
},
"luminance": 0.12512
}Semantic roles & 50–950 ramp
primary
#2E57DB
secondary
#D8C68D
accent
#C33AED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84