#5978CF#5978CF
#5978CF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.138 H 267.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5978CF |
|---|---|
| RGB | rgb(89, 120, 207) |
| HSL | hsl(224, 55%, 58%) |
| HSV | hsv(224, 57%, 81%) |
| CMYK | cmyk(57%, 42%, 0%, 18.8%) |
| CIE-LAB | lab(51.91, 14.74, -48.45) |
| CIE-LCH | lch(51.91, 50.64, 286.92°) |
| OKLab | oklab(59.06% -0.0064 -0.1377) |
| OKLCH | oklch(59.06% 0.138 267.3) |
| XYZ | xyz(22.0950, 20.0601, 61.7270) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.92
Lightish Blue
#3D7AFD
ΔE00 5.53
Royal Blue
#4169E1
ΔE00 5.63
Deep Sky Blue
#0D75F8
ΔE00 6.13
Clear Blue
#247AFD
ΔE00 6.17
Soft Blue
#6488EA
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5978CF #CFB059
analogous
#59B3CF #5978CF #7559CF
triadic
#5978CF #CF5978 #78CF59
tetradic
#5978CF #CF59B3 #CFB059 #59CF75
square
#5978CF #CF59B3 #CFB059 #59CF75
split-complementary
#5978CF #CF7559 #B3CF59
monochromatic
#274087 #3557B6 #5978CF #889FDD #B8C5EA
Accessibility & contrast
On white
4.19
#5978CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#5978CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5978CF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5978CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5978CF | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5978cf; /* rgb */ color: rgb(89, 120, 207); /* oklch */ color: oklch(59.1% 0.138 267.3);
Tailwind
colors: {
custom: {
50: '#919ede',
500: '#5978cf',
950: '#000000',
},
}SCSS
$custom: #5978cf; $custom-light: #919ede; $custom-dark: #000000;
JSON
{
"hex": "#5978cf",
"rgb": {
"r": 89,
"g": 120,
"b": 207
},
"hsl": {
"h": 224.237,
"s": 55.14,
"l": 58.039
},
"oklch": {
"l": 0.59056,
"c": 0.1379,
"h": 267.3
},
"luminance": 0.20062
}Semantic roles & 50–950 ramp
primary
#5978CF
secondary
#D9CDAA
accent
#B749DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83