#5F97FA#5F97FA
#5F97FA is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.158 H 261.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97FA |
|---|---|
| RGB | rgb(95, 151, 250) |
| HSL | hsl(218, 94%, 68%) |
| HSV | hsv(218, 62%, 98%) |
| CMYK | cmyk(62%, 39.6%, 0%, 2%) |
| CIE-LAB | lab(62.90, 11.47, -54.92) |
| CIE-LCH | lch(62.90, 56.10, 281.79°) |
| OKLab | oklab(68.37% -0.0248 -0.1562) |
| OKLCH | oklch(68.37% 0.158 261) |
| XYZ | xyz(33.0352, 31.4652, 94.7564) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.46
Dark Sky Blue
#448EE4
ΔE00 5.00
Dodgerblue
#1E90FF
ΔE00 5.13
Soft Blue
#6488EA
ΔE00 5.47
Dodger Blue
#3E82FC
ΔE00 6.49
Faded Blue
#658CBB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97FA #FAC25F
analogous
#5FE4FA #5F97FA #755FFA
triadic
#5F97FA #FA5F97 #97FA5F
tetradic
#5F97FA #FA5FE4 #FAC25F #5FFA75
square
#5F97FA #FA5FE4 #FAC25F #5FFA75
split-complementary
#5F97FA #FA755F #E4FA5F
monochromatic
#0752D8 #2470F8 #5F97FA #9ABEFC #D6E4FE
Accessibility & contrast
On white
2.88
#5F97FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#5F97FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97FA
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97FA | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5f97fa; /* rgb */ color: rgb(95, 151, 250); /* oklch */ color: oklch(68.4% 0.158 261.0);
Tailwind
colors: {
custom: {
50: '#99b5fc',
500: '#5f97fa',
950: '#000000',
},
}SCSS
$custom: #5f97fa; $custom-light: #99b5fc; $custom-dark: #000000;
JSON
{
"hex": "#5f97fa",
"rgb": {
"r": 95,
"g": 151,
"b": 250
},
"hsl": {
"h": 218.323,
"s": 93.939,
"l": 67.647
},
"oklch": {
"l": 0.6837,
"c": 0.1582,
"h": 261
},
"luminance": 0.31468
}Semantic roles & 50–950 ramp
primary
#5F97FA
secondary
#F2E1C2
accent
#9300E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085