#5A60DF#5A60DF
#5A60DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.190 H 276.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A60DF |
|---|---|
| RGB | rgb(90, 96, 223) |
| HSL | hsl(237, 68%, 61%) |
| HSV | hsv(237, 60%, 87%) |
| CMYK | cmyk(59.6%, 57%, 0%, 12.5%) |
| CIE-LAB | lab(46.80, 34.98, -65.74) |
| CIE-LCH | lch(46.80, 74.47, 298.02°) |
| OKLab | oklab(55.53% 0.0207 -0.1888) |
| OKLCH | oklch(55.53% 0.19 276.2) |
| XYZ | xyz(21.7143, 15.8655, 71.7158) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.57
Iris
#6258C4
ΔE00 4.91
Royal Blue
#4169E1
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A60DF #DFD95A
analogous
#5AA3DF #5A60DF #975ADF
triadic
#5A60DF #DF5A60 #60DF5A
tetradic
#5A60DF #DF5AA3 #DFD95A #5ADF97
square
#5A60DF #DF5AA3 #DFD95A #5ADF97
split-complementary
#5A60DF #DF975A #A3DF5A
monochromatic
#1F25A0 #2931D3 #5A60DF #8D91E9 #C1C3F3
Accessibility & contrast
On white
5.03
#5A60DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5A60DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A60DF
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A60DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A60DF | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a60df; /* rgb */ color: rgb(90, 96, 223); /* oklch */ color: oklch(55.5% 0.190 276.2);
Tailwind
colors: {
custom: {
50: '#958dea',
500: '#5a60df',
950: '#000000',
},
}SCSS
$custom: #5a60df; $custom-light: #958dea; $custom-dark: #000000;
JSON
{
"hex": "#5a60df",
"rgb": {
"r": 90,
"g": 96,
"b": 223
},
"hsl": {
"h": 237.293,
"s": 67.513,
"l": 61.373
},
"oklch": {
"l": 0.55531,
"c": 0.18994,
"h": 276.2
},
"luminance": 0.15867
}Semantic roles & 50–950 ramp
primary
#5A60DF
secondary
#E3E1B2
accent
#C716CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84