#5E7FF6#5E7FF6
#5E7FF6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.181 H 269.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7FF6 |
|---|---|
| RGB | rgb(94, 127, 246) |
| HSL | hsl(227, 89%, 67%) |
| HSV | hsv(227, 62%, 96%) |
| CMYK | cmyk(61.8%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(56.30, 24.34, -63.27) |
| CIE-LCH | lch(56.30, 67.79, 291.04°) |
| OKLab | oklab(63.22% -0.003 -0.1811) |
| OKLCH | oklch(63.22% 0.181 269.1) |
| XYZ | xyz(28.8344, 24.2097, 90.3243) |
| Luminance | 0.2421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.17
Soft Blue
#6488EA
ΔE00 3.17
Lightish Blue
#3D7AFD
ΔE00 3.52
Dodger Blue
#3E82FC
ΔE00 4.20
Clear Blue
#247AFD
ΔE00 5.19
Deep Sky Blue
#0D75F8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7FF6 #F6D55E
analogous
#5ECBF6 #5E7FF6 #895EF6
triadic
#5E7FF6 #F65E7F #7FF65E
tetradic
#5E7FF6 #F65ECB #F6D55E #5EF689
square
#5E7FF6 #F65ECB #F6D55E #5EF689
split-complementary
#5E7FF6 #F6895E #CBF65E
monochromatic
#0C36CE #2451F3 #5E7FF6 #98ADF9 #D2DBFC
Accessibility & contrast
On white
3.59
#5E7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#5E7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7FF6
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7FF6 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#1F81F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5e7ff6; /* rgb */ color: rgb(94, 127, 246); /* oklch */ color: oklch(63.2% 0.181 269.1);
Tailwind
colors: {
custom: {
50: '#99a3fa',
500: '#5e7ff6',
950: '#000000',
},
}SCSS
$custom: #5e7ff6; $custom-light: #99a3fa; $custom-dark: #000000;
JSON
{
"hex": "#5e7ff6",
"rgb": {
"r": 94,
"g": 127,
"b": 246
},
"hsl": {
"h": 226.974,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.63218,
"c": 0.18113,
"h": 269.1
},
"luminance": 0.24212
}Semantic roles & 50–950 ramp
primary
#5E7FF6
secondary
#F0E6BF
accent
#B400E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85