#5E7DEC#5E7DEC
#5E7DEC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.170 H 269.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7DEC |
|---|---|
| RGB | rgb(94, 125, 236) |
| HSL | hsl(227, 79%, 65%) |
| HSV | hsv(227, 60%, 93%) |
| CMYK | cmyk(60.2%, 47%, 0%, 7.5%) |
| CIE-LAB | lab(55.18, 22.23, -59.52) |
| CIE-LCH | lch(55.18, 63.54, 290.48°) |
| OKLab | oklab(62.17% -0.0022 -0.1701) |
| OKLCH | oklch(62.17% 0.17 269.2) |
| XYZ | xyz(27.0849, 23.1008, 82.3722) |
| Luminance | 0.2310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.22
Soft Blue
#6488EA
ΔE00 3.54
Lightish Blue
#3D7AFD
ΔE00 3.57
Dodger Blue
#3E82FC
ΔE00 4.60
Clear Blue
#247AFD
ΔE00 5.15
Cornflower Blue
#5170D7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7DEC #ECCD5E
analogous
#5EC4EC #5E7DEC #865EEC
triadic
#5E7DEC #EC5E7D #7DEC5E
tetradic
#5E7DEC #EC5EC4 #ECCD5E #5EEC86
square
#5E7DEC #EC5EC4 #ECCD5E #5EEC86
split-complementary
#5E7DEC #EC865E #C4EC5E
monochromatic
#163ABA #2751E6 #5E7DEC #95A9F2 #CBD5F9
Accessibility & contrast
On white
3.74
#5E7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5E7DEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7DEC
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7DEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7DEC | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5e7dec; /* rgb */ color: rgb(94, 125, 236); /* oklch */ color: oklch(62.2% 0.170 269.2);
Tailwind
colors: {
custom: {
50: '#97a2f3',
500: '#5e7dec',
950: '#000000',
},
}SCSS
$custom: #5e7dec; $custom-light: #97a2f3; $custom-dark: #000000;
JSON
{
"hex": "#5e7dec",
"rgb": {
"r": 94,
"g": 125,
"b": 236
},
"hsl": {
"h": 226.901,
"s": 78.889,
"l": 64.706
},
"oklch": {
"l": 0.6217,
"c": 0.17011,
"h": 269.2
},
"luminance": 0.23103
}Semantic roles & 50–950 ramp
primary
#5E7DEC
secondary
#EBE1BB
accent
#AE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85