#5A60F2#5A60F2
#5A60F2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.215 H 275.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5A60F2 |
|---|---|
| RGB | rgb(90, 96, 242) |
| HSL | hsl(238, 85%, 65%) |
| HSV | hsv(238, 63%, 95%) |
| CMYK | cmyk(62.8%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(48.19, 41.17, -74.17) |
| CIE-LCH | lch(48.19, 84.83, 299.03°) |
| OKLab | oklab(57% 0.0203 -0.2136) |
| OKLCH | oklch(57% 0.215 275.4) |
| XYZ | xyz(24.4211, 16.9482, 85.9716) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.64
Warm Blue
#4B57DB
ΔE00 4.79
Mediumslateblue
#7B68EE
ΔE00 5.43
Royal Blue
#4169E1
ΔE00 5.68
Azul
#1D5DEC
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A60F2 #F2EC5A
analogous
#5AACF2 #5A60F2 #A05AF2
triadic
#5A60F2 #F25A60 #60F25A
tetradic
#5A60F2 #F25AAC #F2EC5A #5AF2A0
square
#5A60F2 #F25AAC #F2EC5A #5AF2A0
split-complementary
#5A60F2 #F2A05A #ACF25A
monochromatic
#0F16C2 #2129EE #5A60F2 #9397F6 #CBCDFB
Accessibility & contrast
On white
4.78
#5A60F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#5A60F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A60F2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A60F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A60F2 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5a60f2; /* rgb */ color: rgb(90, 96, 242); /* oklch */ color: oklch(57.0% 0.215 275.4);
Tailwind
colors: {
custom: {
50: '#988df7',
500: '#5a60f2',
950: '#000000',
},
}SCSS
$custom: #5a60f2; $custom-light: #988df7; $custom-dark: #000000;
JSON
{
"hex": "#5a60f2",
"rgb": {
"r": 90,
"g": 96,
"b": 242
},
"hsl": {
"h": 237.632,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.57003,
"c": 0.21457,
"h": 275.4
},
"luminance": 0.1695
}Semantic roles & 50–950 ramp
primary
#5A60F2
secondary
#EEECBA
accent
#D904E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85