#5F98F7#5F98F7
#5F98F7 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.153 H 260.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F98F7 |
|---|---|
| RGB | rgb(95, 152, 247) |
| HSL | hsl(218, 90%, 67%) |
| HSV | hsv(218, 62%, 97%) |
| CMYK | cmyk(61.5%, 38.5%, 0%, 3.1%) |
| CIE-LAB | lab(63.01, 9.89, -53.09) |
| CIE-LCH | lch(63.01, 54.00, 280.55°) |
| OKLab | oklab(68.41% -0.0264 -0.1509) |
| OKLCH | oklch(68.41% 0.153 260.1) |
| XYZ | xyz(32.7301, 31.6018, 92.3526) |
| Luminance | 0.3160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.55
Dark Sky Blue
#448EE4
ΔE00 4.83
Dodgerblue
#1E90FF
ΔE00 4.96
Soft Blue
#6488EA
ΔE00 5.79
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F98F7 #F7BE5F
analogous
#5FE4F7 #5F98F7 #725FF7
triadic
#5F98F7 #F75F98 #98F75F
tetradic
#5F98F7 #F75FE4 #F7BE5F #5FF772
square
#5F98F7 #F75FE4 #F7BE5F #5FF772
split-complementary
#5F98F7 #F7725F #E4F75F
monochromatic
#0A55D1 #2572F4 #5F98F7 #99BEFA #D4E3FD
Accessibility & contrast
On white
2.87
#5F98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#5F98F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F98F7
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F98F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F98F7 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5f98f7; /* rgb */ color: rgb(95, 152, 247); /* oklch */ color: oklch(68.4% 0.153 260.1);
Tailwind
colors: {
custom: {
50: '#99b5fa',
500: '#5f98f7',
950: '#000000',
},
}SCSS
$custom: #5f98f7; $custom-light: #99b5fa; $custom-dark: #000000;
JSON
{
"hex": "#5f98f7",
"rgb": {
"r": 95,
"g": 152,
"b": 247
},
"hsl": {
"h": 217.5,
"s": 90.476,
"l": 67.059
},
"oklch": {
"l": 0.68407,
"c": 0.15318,
"h": 260.1
},
"luminance": 0.31605
}Semantic roles & 50–950 ramp
primary
#5F98F7
secondary
#F1DFC1
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085