#5A60EA#5A60EA
#5A60EA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.204 H 275.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5A60EA |
|---|---|
| RGB | rgb(90, 96, 234) |
| HSL | hsl(238, 77%, 64%) |
| HSV | hsv(238, 62%, 92%) |
| CMYK | cmyk(61.5%, 59%, 0%, 8.2%) |
| CIE-LAB | lab(47.60, 38.57, -70.66) |
| CIE-LCH | lch(47.60, 80.50, 298.63°) |
| OKLab | oklab(56.37% 0.0206 -0.2033) |
| OKLCH | oklch(56.37% 0.204 275.8) |
| XYZ | xyz(23.2458, 16.4780, 79.7815) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A60EA #EAE45A
analogous
#5AA8EA #5A60EA #9C5AEA
triadic
#5A60EA #EA5A60 #60EA5A
tetradic
#5A60EA #EA5AA8 #EAE45A #5AEA9C
square
#5A60EA #EA5AA8 #EAE45A #5AEA9C
split-complementary
#5A60EA #EA9C5A #A8EA5A
monochromatic
#171DB3 #242CE3 #5A60EA #9094F1 #C7C9F8
Accessibility & contrast
On white
4.89
#5A60EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5A60EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A60EA
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A60EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A60EA | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5a60ea; /* rgb */ color: rgb(90, 96, 234); /* oklch */ color: oklch(56.4% 0.204 275.8);
Tailwind
colors: {
custom: {
50: '#978df2',
500: '#5a60ea',
950: '#000000',
},
}SCSS
$custom: #5a60ea; $custom-light: #978df2; $custom-dark: #000000;
JSON
{
"hex": "#5a60ea",
"rgb": {
"r": 90,
"g": 96,
"b": 234
},
"hsl": {
"h": 237.5,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.56373,
"c": 0.20431,
"h": 275.8
},
"luminance": 0.1648
}Semantic roles & 50–950 ramp
primary
#5A60EA
secondary
#E9E7B6
accent
#D10CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85