#5A75F3#5A75F3
#5A75F3 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.190 H 270.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5A75F3 |
|---|---|
| RGB | rgb(90, 117, 243) |
| HSL | hsl(229, 86%, 65%) |
| HSV | hsv(229, 63%, 95%) |
| CMYK | cmyk(63%, 51.9%, 0%, 4.7%) |
| CIE-LAB | lab(53.35, 28.76, -66.37) |
| CIE-LCH | lch(53.35, 72.34, 293.43°) |
| OKLab | oklab(60.87% 0.0022 -0.1904) |
| OKLCH | oklch(60.87% 0.19 270.7) |
| XYZ | xyz(26.7500, 21.3650, 87.4908) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.61
Lightish Blue
#3D7AFD
ΔE00 4.02
Cornflower Blue
#5170D7
ΔE00 4.35
Royal Blue
#4169E1
ΔE00 5.63
Clear Blue
#247AFD
ΔE00 5.70
Deep Sky Blue
#0D75F8
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A75F3 #F3D85A
analogous
#5AC1F3 #5A75F3 #8C5AF3
triadic
#5A75F3 #F35A75 #75F35A
tetradic
#5A75F3 #F35AC1 #F3D85A #5AF38C
square
#5A75F3 #F35AC1 #F3D85A #5AF38C
split-complementary
#5A75F3 #F38C5A #C1F35A
monochromatic
#0E2EC4 #2145EF #5A75F3 #93A5F7 #CCD4FB
Accessibility & contrast
On white
3.98
#5A75F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5A75F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A75F3
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A75F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A75F3 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2687F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a75f3; /* rgb */ color: rgb(90, 117, 243); /* oklch */ color: oklch(60.9% 0.190 270.7);
Tailwind
colors: {
custom: {
50: '#979cf8',
500: '#5a75f3',
950: '#000000',
},
}SCSS
$custom: #5a75f3; $custom-light: #979cf8; $custom-dark: #000000;
JSON
{
"hex": "#5a75f3",
"rgb": {
"r": 90,
"g": 117,
"b": 243
},
"hsl": {
"h": 229.412,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.60866,
"c": 0.19046,
"h": 270.7
},
"luminance": 0.21367
}Semantic roles & 50–950 ramp
primary
#5A75F3
secondary
#EEE5BB
accent
#BB03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85