#5A7BF6#5A7BF6
#5A7BF6 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.187 H 269.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7BF6 |
|---|---|
| RGB | rgb(90, 123, 246) |
| HSL | hsl(227, 90%, 66%) |
| HSV | hsv(227, 63%, 96%) |
| CMYK | cmyk(63.4%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(55.06, 26.10, -65.27) |
| CIE-LCH | lch(55.06, 70.30, 291.80°) |
| OKLab | oklab(62.22% -0.003 -0.1871) |
| OKLCH | oklch(62.22% 0.187 269.1) |
| XYZ | xyz(27.9283, 22.9909, 90.1368) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.77
Lightish Blue
#3D7AFD
ΔE00 3.05
Soft Blue
#6488EA
ΔE00 4.33
Dodger Blue
#3E82FC
ΔE00 4.58
Clear Blue
#247AFD
ΔE00 4.85
Cornflower Blue
#5170D7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7BF6 #F6D55A
analogous
#5AC9F6 #5A7BF6 #875AF6
triadic
#5A7BF6 #F65A7B #7BF65A
tetradic
#5A7BF6 #F65AC9 #F6D55A #5AF687
square
#5A7BF6 #F65AC9 #F6D55A #5AF687
split-complementary
#5A7BF6 #F6875A #C9F65A
monochromatic
#0B34CB #204DF3 #5A7BF6 #94A9F9 #CED8FC
Accessibility & contrast
On white
3.75
#5A7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#5A7BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7BF6
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7BF6 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a7bf6; /* rgb */ color: rgb(90, 123, 246); /* oklch */ color: oklch(62.2% 0.187 269.1);
Tailwind
colors: {
custom: {
50: '#97a0fa',
500: '#5a7bf6',
950: '#000000',
},
}SCSS
$custom: #5a7bf6; $custom-light: #97a0fa; $custom-dark: #000000;
JSON
{
"hex": "#5a7bf6",
"rgb": {
"r": 90,
"g": 123,
"b": 246
},
"hsl": {
"h": 227.308,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.62225,
"c": 0.18715,
"h": 269.1
},
"luminance": 0.22993
}Semantic roles & 50–950 ramp
primary
#5A7BF6
secondary
#F0E5BC
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85