#5F98F5#5F98F5
#5F98F5 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.3% C 0.151 H 259.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5F98F5 |
|---|---|
| RGB | rgb(95, 152, 245) |
| HSL | hsl(217, 88%, 67%) |
| HSV | hsv(217, 61%, 96%) |
| CMYK | cmyk(61.2%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(62.91, 9.23, -52.16) |
| CIE-LCH | lch(62.91, 52.97, 280.04°) |
| OKLab | oklab(68.29% -0.0268 -0.1481) |
| OKLCH | oklch(68.29% 0.151 259.7) |
| XYZ | xyz(32.4232, 31.4790, 90.7359) |
| Luminance | 0.3148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.50
Dark Sky Blue
#448EE4
ΔE00 4.69
Dodgerblue
#1E90FF
ΔE00 4.86
Soft Blue
#6488EA
ΔE00 5.79
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F98F5 #F5BC5F
analogous
#5FE3F5 #5F98F5 #715FF5
triadic
#5F98F5 #F55F98 #98F55F
tetradic
#5F98F5 #F55FE3 #F5BC5F #5FF571
square
#5F98F5 #F55FE3 #F5BC5F #5FF571
split-complementary
#5F98F5 #F5715F #E3F55F
monochromatic
#0D56CD #2573F1 #5F98F5 #99BDF9 #D2E2FC
Accessibility & contrast
On white
2.88
#5F98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#5F98F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F98F5
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F98F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F98F5 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5f98f5; /* rgb */ color: rgb(95, 152, 245); /* oklch */ color: oklch(68.3% 0.151 259.7);
Tailwind
colors: {
custom: {
50: '#99b5f9',
500: '#5f98f5',
950: '#000000',
},
}SCSS
$custom: #5f98f5; $custom-light: #99b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5f98f5",
"rgb": {
"r": 95,
"g": 152,
"b": 245
},
"hsl": {
"h": 217.2,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.68294,
"c": 0.15056,
"h": 259.7
},
"luminance": 0.31482
}Semantic roles & 50–950 ramp
primary
#5F98F5
secondary
#F0DEC0
accent
#8E01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085