#5A60DC#5A60DC
#5A60DC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.186 H 276.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A60DC |
|---|---|
| RGB | rgb(90, 96, 220) |
| HSL | hsl(237, 65%, 61%) |
| HSV | hsv(237, 59%, 86%) |
| CMYK | cmyk(59.1%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(46.59, 34.00, -64.38) |
| CIE-LCH | lch(46.59, 72.81, 297.84°) |
| OKLab | oklab(55.31% 0.0206 -0.1848) |
| OKLCH | oklch(55.31% 0.186 276.4) |
| XYZ | xyz(21.3134, 15.7051, 69.6045) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.55
Warm Blue
#4B57DB
ΔE00 3.23
Slate Blue
#6A5ACD
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.44
Iris
#6258C4
ΔE00 4.62
Royal Blue
#4169E1
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A60DC #DCD65A
analogous
#5AA1DC #5A60DC #955ADC
triadic
#5A60DC #DC5A60 #60DC5A
tetradic
#5A60DC #DC5AA1 #DCD65A #5ADC95
square
#5A60DC #DC5AA1 #DCD65A #5ADC95
split-complementary
#5A60DC #DC955A #A1DC5A
monochromatic
#21269B #2C33CD #5A60DC #8C91E7 #BFC1F1
Accessibility & contrast
On white
5.07
#5A60DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5A60DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A60DC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A60DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A60DC | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a60dc; /* rgb */ color: rgb(90, 96, 220); /* oklch */ color: oklch(55.3% 0.186 276.4);
Tailwind
colors: {
custom: {
50: '#948de8',
500: '#5a60dc',
950: '#000000',
},
}SCSS
$custom: #5a60dc; $custom-light: #948de8; $custom-dark: #000000;
JSON
{
"hex": "#5a60dc",
"rgb": {
"r": 90,
"g": 96,
"b": 220
},
"hsl": {
"h": 237.231,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.55306,
"c": 0.18597,
"h": 276.4
},
"luminance": 0.15707
}Semantic roles & 50–950 ramp
primary
#5A60DC
secondary
#E2DFB0
accent
#C519CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84