#5975E6#5975E6
#5975E6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.173 H 270.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5975E6 |
|---|---|
| RGB | rgb(89, 117, 230) |
| HSL | hsl(228, 74%, 63%) |
| HSV | hsv(228, 61%, 90%) |
| CMYK | cmyk(61.3%, 49.1%, 0%, 9.8%) |
| CIE-LAB | lab(52.46, 24.23, -60.54) |
| CIE-LCH | lch(52.46, 65.21, 291.82°) |
| OKLab | oklab(59.92% 0 -0.1733) |
| OKLCH | oklch(59.92% 0.173 270) |
| XYZ | xyz(24.7592, 20.5575, 77.5108) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.88
Cornflower
#6A79F7
ΔE00 3.76
Lightish Blue
#3D7AFD
ΔE00 4.25
Royal Blue
#4169E1
ΔE00 4.79
Clear Blue
#247AFD
ΔE00 5.62
Deep Sky Blue
#0D75F8
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5975E6 #E6CA59
analogous
#59BCE6 #5975E6 #8359E6
triadic
#5975E6 #E65975 #75E659
tetradic
#5975E6 #E659BC #E6CA59 #59E683
square
#5975E6 #E659BC #E6CA59 #59E683
split-complementary
#5975E6 #E68359 #BCE659
monochromatic
#1A37AB #2449DE #5975E6 #8EA1EE #C3CDF6
Accessibility & contrast
On white
4.11
#5975E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#5975E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5975E6
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5975E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5975E6 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3984EA
Deuteranopia (green-blind)
#1877E4
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5975e6; /* rgb */ color: rgb(89, 117, 230); /* oklch */ color: oklch(59.9% 0.173 270.0);
Tailwind
colors: {
custom: {
50: '#949cef',
500: '#5975e6',
950: '#000000',
},
}SCSS
$custom: #5975e6; $custom-light: #949cef; $custom-dark: #000000;
JSON
{
"hex": "#5975e6",
"rgb": {
"r": 89,
"g": 117,
"b": 230
},
"hsl": {
"h": 228.085,
"s": 73.822,
"l": 62.549
},
"oklch": {
"l": 0.59917,
"c": 0.17331,
"h": 270
},
"luminance": 0.2056
}Semantic roles & 50–950 ramp
primary
#5975E6
secondary
#E7DDB4
accent
#AF10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84