#5F98F9#5F98F9
#5F98F9 is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.156 H 260.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F98F9 |
|---|---|
| RGB | rgb(95, 152, 249) |
| HSL | hsl(218, 93%, 67%) |
| HSV | hsv(218, 62%, 98%) |
| CMYK | cmyk(61.8%, 39%, 0%, 2.4%) |
| CIE-LAB | lab(63.12, 10.55, -54.02) |
| CIE-LCH | lch(63.12, 55.04, 281.05°) |
| OKLab | oklab(68.52% -0.026 -0.1536) |
| OKLCH | oklch(68.52% 0.156 260.4) |
| XYZ | xyz(33.0404, 31.7259, 93.9867) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.62
Dark Sky Blue
#448EE4
ΔE00 4.98
Dodgerblue
#1E90FF
ΔE00 5.05
Soft Blue
#6488EA
ΔE00 5.79
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F98F9 #F9C05F
analogous
#5FE5F9 #5F98F9 #735FF9
triadic
#5F98F9 #F95F98 #98F95F
tetradic
#5F98F9 #F95FE5 #F9C05F #5FF973
square
#5F98F9 #F95FE5 #F9C05F #5FF973
split-complementary
#5F98F9 #F9735F #E5F95F
monochromatic
#0854D6 #2472F7 #5F98F9 #9ABEFB #D5E4FD
Accessibility & contrast
On white
2.86
#5F98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#5F98F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F98F9
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F98F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F98F9 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #5f98f9; /* rgb */ color: rgb(95, 152, 249); /* oklch */ color: oklch(68.5% 0.156 260.4);
Tailwind
colors: {
custom: {
50: '#99b5fc',
500: '#5f98f9',
950: '#000000',
},
}SCSS
$custom: #5f98f9; $custom-light: #99b5fc; $custom-dark: #000000;
JSON
{
"hex": "#5f98f9",
"rgb": {
"r": 95,
"g": 152,
"b": 249
},
"hsl": {
"h": 217.792,
"s": 92.771,
"l": 67.451
},
"oklch": {
"l": 0.68521,
"c": 0.1558,
"h": 260.4
},
"luminance": 0.31729
}Semantic roles & 50–950 ramp
primary
#5F98F9
secondary
#F2E0C2
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085