#5F97F2#5F97F2
#5F97F2 is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.148 H 259.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97F2 |
|---|---|
| RGB | rgb(95, 151, 242) |
| HSL | hsl(217, 85%, 66%) |
| HSV | hsv(217, 61%, 95%) |
| CMYK | cmyk(60.7%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.49, 8.84, -51.18) |
| CIE-LCH | lch(62.49, 51.94, 279.79°) |
| OKLab | oklab(67.92% -0.0265 -0.1453) |
| OKLCH | oklch(67.92% 0.148 259.7) |
| XYZ | xyz(31.8073, 30.9741, 88.2896) |
| Luminance | 0.3098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.20
Dark Sky Blue
#448EE4
ΔE00 4.41
Dodgerblue
#1E90FF
ΔE00 4.76
Soft Blue
#6488EA
ΔE00 5.48
Dodger Blue
#3E82FC
ΔE00 6.49
Faded Blue
#658CBB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97F2 #F2BA5F
analogous
#5FE0F2 #5F97F2 #705FF2
triadic
#5F97F2 #F25F97 #97F25F
tetradic
#5F97F2 #F25FE0 #F2BA5F #5FF270
square
#5F97F2 #F25FE0 #F2BA5F #5FF270
split-complementary
#5F97F2 #F2705F #E0F25F
monochromatic
#1056C6 #2672ED #5F97F2 #98BCF7 #D0E1FB
Accessibility & contrast
On white
2.92
#5F97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#5F97F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97F2
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97F2 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f97f2; /* rgb */ color: rgb(95, 151, 242); /* oklch */ color: oklch(67.9% 0.148 259.7);
Tailwind
colors: {
custom: {
50: '#98b5f7',
500: '#5f97f2',
950: '#000000',
},
}SCSS
$custom: #5f97f2; $custom-light: #98b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5f97f2",
"rgb": {
"r": 95,
"g": 151,
"b": 242
},
"hsl": {
"h": 217.143,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.67915,
"c": 0.1477,
"h": 259.7
},
"luminance": 0.30977
}Semantic roles & 50–950 ramp
primary
#5F97F2
secondary
#EFDCBE
accent
#8D04E1
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085