#5972F2#5972F2
#5972F2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.193 H 271.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5972F2 |
|---|---|
| RGB | rgb(89, 114, 242) |
| HSL | hsl(230, 85%, 65%) |
| HSV | hsv(230, 63%, 95%) |
| CMYK | cmyk(63.2%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(52.47, 30.10, -67.23) |
| CIE-LCH | lch(52.47, 73.66, 294.11°) |
| OKLab | oklab(60.17% 0.0038 -0.193) |
| OKLCH | oklch(60.17% 0.193 271.1) |
| XYZ | xyz(26.1588, 20.5670, 86.5785) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.17
Cornflower Blue
#5170D7
ΔE00 3.98
Lightish Blue
#3D7AFD
ΔE00 4.65
Royal Blue
#4169E1
ΔE00 4.92
Clear Blue
#247AFD
ΔE00 6.20
Bright Blue
#0165FC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5972F2 #F2D959
analogous
#59BFF2 #5972F2 #8C59F2
triadic
#5972F2 #F25972 #72F259
tetradic
#5972F2 #F259BF #F2D959 #59F28C
square
#5972F2 #F259BF #F2D959 #59F28C
split-complementary
#5972F2 #F28C59 #BFF259
monochromatic
#0F2CC1 #2042EE #5972F2 #92A2F6 #CBD2FB
Accessibility & contrast
On white
4.11
#5972F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#5972F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5972F2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5972F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5972F2 | 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)
#1A84F6
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5972f2; /* rgb */ color: rgb(89, 114, 242); /* oklch */ color: oklch(60.2% 0.193 271.1);
Tailwind
colors: {
custom: {
50: '#969af7',
500: '#5972f2',
950: '#000000',
},
}SCSS
$custom: #5972f2; $custom-light: #969af7; $custom-dark: #000000;
JSON
{
"hex": "#5972f2",
"rgb": {
"r": 89,
"g": 114,
"b": 242
},
"hsl": {
"h": 230.196,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.60172,
"c": 0.19308,
"h": 271.1
},
"luminance": 0.20569
}Semantic roles & 50–950 ramp
primary
#5972F2
secondary
#EDE5B9
accent
#BE04E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85