#5A6CF3#5A6CF3
#5A6CF3 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.2% C 0.201 H 272.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6CF3 |
|---|---|
| RGB | rgb(90, 108, 243) |
| HSL | hsl(233, 86%, 65%) |
| HSV | hsv(233, 63%, 95%) |
| CMYK | cmyk(63%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(51.11, 34.25, -69.99) |
| CIE-LCH | lch(51.11, 77.92, 296.08°) |
| OKLab | oklab(59.19% 0.0102 -0.2012) |
| OKLCH | oklch(59.19% 0.201 272.9) |
| XYZ | xyz(25.7513, 19.3676, 87.1579) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.46
Cornflower Blue
#5170D7
ΔE00 4.53
Royal Blue
#4169E1
ΔE00 4.56
Mediumslateblue
#7B68EE
ΔE00 5.59
Bright Blue
#0165FC
ΔE00 5.76
Lightish Blue
#3D7AFD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6CF3 #F3E15A
analogous
#5AB9F3 #5A6CF3 #945AF3
triadic
#5A6CF3 #F35A6C #6CF35A
tetradic
#5A6CF3 #F35AB9 #F3E15A #5AF394
square
#5A6CF3 #F35AB9 #F3E15A #5AF394
split-complementary
#5A6CF3 #F3945A #B9F35A
monochromatic
#0E24C4 #2139EF #5A6CF3 #939FF7 #CCD2FB
Accessibility & contrast
On white
4.31
#5A6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#5A6CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6CF3
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6CF3 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5a6cf3; /* rgb */ color: rgb(90, 108, 243); /* oklch */ color: oklch(59.2% 0.201 272.9);
Tailwind
colors: {
custom: {
50: '#9796f8',
500: '#5a6cf3',
950: '#000000',
},
}SCSS
$custom: #5a6cf3; $custom-light: #9796f8; $custom-dark: #000000;
JSON
{
"hex": "#5a6cf3",
"rgb": {
"r": 90,
"g": 108,
"b": 243
},
"hsl": {
"h": 232.941,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.59191,
"c": 0.20144,
"h": 272.9
},
"luminance": 0.1937
}Semantic roles & 50–950 ramp
primary
#5A6CF3
secondary
#EEE8BB
accent
#C903E3
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85