#5972EA#5972EA
#5972EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.182 H 271.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5972EA |
|---|---|
| RGB | rgb(89, 114, 234) |
| HSL | hsl(230, 78%, 63%) |
| HSV | hsv(230, 62%, 92%) |
| CMYK | cmyk(62%, 51.3%, 0%, 8.2%) |
| CIE-LAB | lab(51.95, 27.41, -63.61) |
| CIE-LCH | lch(51.95, 69.27, 293.31°) |
| OKLab | oklab(59.61% 0.0033 -0.1824) |
| OKLCH | oklch(59.61% 0.182 271) |
| XYZ | xyz(24.9834, 20.0969, 80.3884) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.03
Cornflower
#6A79F7
ΔE00 3.71
Royal Blue
#4169E1
ΔE00 4.35
Lightish Blue
#3D7AFD
ΔE00 4.82
Deep Sky Blue
#0D75F8
ΔE00 6.18
Bright Blue
#0165FC
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5972EA #EAD159
analogous
#59BAEA #5972EA #8859EA
triadic
#5972EA #EA5972 #72EA59
tetradic
#5972EA #EA59BA #EAD159 #59EA88
square
#5972EA #EA59BA #EAD159 #59EA88
split-complementary
#5972EA #EA8859 #BAEA59
monochromatic
#1731B2 #2344E3 #5972EA #8FA0F1 #C6CEF8
Accessibility & contrast
On white
4.18
#5972EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#5972EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5972EA
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5972EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5972EA | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5972ea; /* rgb */ color: rgb(89, 114, 234); /* oklch */ color: oklch(59.6% 0.182 271.0);
Tailwind
colors: {
custom: {
50: '#959af1',
500: '#5972ea',
950: '#000000',
},
}SCSS
$custom: #5972ea; $custom-light: #959af1; $custom-dark: #000000;
JSON
{
"hex": "#5972ea",
"rgb": {
"r": 89,
"g": 114,
"b": 234
},
"hsl": {
"h": 229.655,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.59608,
"c": 0.18242,
"h": 271
},
"luminance": 0.20099
}Semantic roles & 50–950 ramp
primary
#5972EA
secondary
#E9E0B6
accent
#B60CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85