#5A5BF0#5A5BF0
#5A5BF0 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.218 H 276.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BF0 |
|---|---|
| RGB | rgb(90, 91, 240) |
| HSL | hsl(240, 83%, 65%) |
| HSV | hsv(240, 63%, 94%) |
| CMYK | cmyk(62.5%, 62.1%, 0%, 5.9%) |
| CIE-LAB | lab(46.90, 43.49, -75.16) |
| CIE-LCH | lch(46.90, 86.84, 300.06°) |
| OKLab | oklab(56.01% 0.0245 -0.2165) |
| OKLCH | oklch(56.01% 0.218 276.5) |
| XYZ | xyz(23.6806, 15.9452, 84.2510) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.23
Electric Blue
#0652FF
ΔE00 5.41
Azul
#1D5DEC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BF0 #F0EF5A
analogous
#5AA6F0 #5A5BF0 #A45AF0
triadic
#5A5BF0 #F05A5B #5BF05A
tetradic
#5A5BF0 #F05AA6 #F0EF5A #5AF0A4
square
#5A5BF0 #F05AA6 #F0EF5A #5AF0A4
split-complementary
#5A5BF0 #F0A45A #A6F05A
monochromatic
#1112BE #2223EB #5A5BF0 #9293F5 #CACBFA
Accessibility & contrast
On white
5.01
#5A5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5A5BF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BF0
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BF0 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#0069ED
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a5bf0; /* rgb */ color: rgb(90, 91, 240); /* oklch */ color: oklch(56.0% 0.218 276.5);
Tailwind
colors: {
custom: {
50: '#988af6',
500: '#5a5bf0',
950: '#000000',
},
}SCSS
$custom: #5a5bf0; $custom-light: #988af6; $custom-dark: #000000;
JSON
{
"hex": "#5a5bf0",
"rgb": {
"r": 90,
"g": 91,
"b": 240
},
"hsl": {
"h": 239.6,
"s": 83.333,
"l": 64.706
},
"oklch": {
"l": 0.56006,
"c": 0.21791,
"h": 276.5
},
"luminance": 0.15947
}Semantic roles & 50–950 ramp
primary
#5A5BF0
secondary
#EDECB9
accent
#DE06E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85