#5F97F5#5F97F5
#5F97F5 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.152 H 260.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97F5 |
|---|---|
| RGB | rgb(95, 151, 245) |
| HSL | hsl(218, 88%, 67%) |
| HSV | hsv(218, 61%, 96%) |
| CMYK | cmyk(61.2%, 38.4%, 0%, 3.9%) |
| CIE-LAB | lab(62.64, 9.82, -52.59) |
| CIE-LCH | lch(62.64, 53.49, 280.58°) |
| OKLab | oklab(68.08% -0.0258 -0.1494) |
| OKLCH | oklch(68.08% 0.152 260.2) |
| XYZ | xyz(32.2616, 31.1558, 90.6820) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.24
Dark Sky Blue
#448EE4
ΔE00 4.62
Dodgerblue
#1E90FF
ΔE00 4.89
Soft Blue
#6488EA
ΔE00 5.46
Dodger Blue
#3E82FC
ΔE00 6.48
Faded Blue
#658CBB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97F5 #F5BD5F
analogous
#5FE2F5 #5F97F5 #725FF5
triadic
#5F97F5 #F55F97 #97F55F
tetradic
#5F97F5 #F55FE2 #F5BD5F #5FF572
square
#5F97F5 #F55FE2 #F5BD5F #5FF572
split-complementary
#5F97F5 #F5725F #E2F55F
monochromatic
#0D54CD #2572F1 #5F97F5 #99BCF9 #D2E2FC
Accessibility & contrast
On white
2.90
#5F97F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#5F97F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97F5
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97F5 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f97f5; /* rgb */ color: rgb(95, 151, 245); /* oklch */ color: oklch(68.1% 0.152 260.2);
Tailwind
colors: {
custom: {
50: '#99b5f9',
500: '#5f97f5',
950: '#000000',
},
}SCSS
$custom: #5f97f5; $custom-light: #99b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5f97f5",
"rgb": {
"r": 95,
"g": 151,
"b": 245
},
"hsl": {
"h": 217.6,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.68084,
"c": 0.15164,
"h": 260.2
},
"luminance": 0.31159
}Semantic roles & 50–950 ramp
primary
#5F97F5
secondary
#F0DEC0
accent
#9001E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085