#5997F2#5997F2
#5997F2 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.6% C 0.150 H 257.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5997F2 |
|---|---|
| RGB | rgb(89, 151, 242) |
| HSL | hsl(216, 85%, 65%) |
| HSV | hsv(216, 63%, 95%) |
| CMYK | cmyk(63.2%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.22, 7.77, -51.61) |
| CIE-LCH | lch(62.22, 52.19, 278.56°) |
| OKLab | oklab(67.64% -0.0313 -0.1467) |
| OKLCH | oklch(67.64% 0.15 257.9) |
| XYZ | xyz(31.2077, 30.6649, 88.2615) |
| Luminance | 0.3067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.98
Dark Sky Blue
#448EE4
ΔE00 3.82
Dodgerblue
#1E90FF
ΔE00 3.96
Soft Blue
#6488EA
ΔE00 6.04
Dodger Blue
#3E82FC
ΔE00 6.53
Faded Blue
#658CBB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5997F2 #F2B459
analogous
#59E4F2 #5997F2 #6759F2
triadic
#5997F2 #F25997 #97F259
tetradic
#5997F2 #F259E4 #F2B459 #59F267
square
#5997F2 #F259E4 #F2B459 #59F267
split-complementary
#5997F2 #F26759 #E4F259
monochromatic
#0F57C1 #2073EE #5997F2 #92BBF6 #CBDEFB
Accessibility & contrast
On white
2.94
#5997F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#5997F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5997F2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5997F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5997F2 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5997f2; /* rgb */ color: rgb(89, 151, 242); /* oklch */ color: oklch(67.6% 0.150 257.9);
Tailwind
colors: {
custom: {
50: '#95b5f7',
500: '#5997f2',
950: '#000000',
},
}SCSS
$custom: #5997f2; $custom-light: #95b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5997f2",
"rgb": {
"r": 89,
"g": 151,
"b": 242
},
"hsl": {
"h": 215.686,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.6764,
"c": 0.14998,
"h": 257.9
},
"luminance": 0.30668
}Semantic roles & 50–950 ramp
primary
#5997F2
secondary
#EDD8B9
accent
#8804E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085