#5E7BF6#5E7BF6
#5E7BF6 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.186 H 270.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7BF6 |
|---|---|
| RGB | rgb(94, 123, 246) |
| HSL | hsl(229, 89%, 67%) |
| HSV | hsv(229, 62%, 96%) |
| CMYK | cmyk(61.8%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(55.27, 26.77, -64.92) |
| CIE-LCH | lch(55.27, 70.22, 292.41°) |
| OKLab | oklab(62.44% 0.0008 -0.186) |
| OKLCH | oklch(62.44% 0.186 270.2) |
| XYZ | xyz(28.3280, 23.1970, 90.1555) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.20
Lightish Blue
#3D7AFD
ΔE00 3.62
Soft Blue
#6488EA
ΔE00 4.42
Dodger Blue
#3E82FC
ΔE00 5.09
Clear Blue
#247AFD
ΔE00 5.43
Cornflower Blue
#5170D7
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7BF6 #F6D95E
analogous
#5EC7F6 #5E7BF6 #8D5EF6
triadic
#5E7BF6 #F65E7B #7BF65E
tetradic
#5E7BF6 #F65EC7 #F6D95E #5EF68D
square
#5E7BF6 #F65EC7 #F6D95E #5EF68D
split-complementary
#5E7BF6 #F68D5E #C7F65E
monochromatic
#0C31CE #244BF3 #5E7BF6 #98ABF9 #D2DAFC
Accessibility & contrast
On white
3.72
#5E7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5E7BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7BF6
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7BF6 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#057EF3
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5e7bf6; /* rgb */ color: rgb(94, 123, 246); /* oklch */ color: oklch(62.4% 0.186 270.2);
Tailwind
colors: {
custom: {
50: '#99a0fa',
500: '#5e7bf6',
950: '#000000',
},
}SCSS
$custom: #5e7bf6; $custom-light: #99a0fa; $custom-dark: #000000;
JSON
{
"hex": "#5e7bf6",
"rgb": {
"r": 94,
"g": 123,
"b": 246
},
"hsl": {
"h": 228.553,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.62442,
"c": 0.18601,
"h": 270.2
},
"luminance": 0.23199
}Semantic roles & 50–950 ramp
primary
#5E7BF6
secondary
#F0E7BF
accent
#BA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85