#5F98ED#5F98ED
#5F98ED is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.140 H 258.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F98ED |
|---|---|
| RGB | rgb(95, 152, 237) |
| HSL | hsl(216, 80%, 65%) |
| HSV | hsv(216, 60%, 93%) |
| CMYK | cmyk(59.9%, 35.9%, 0%, 7.1%) |
| CIE-LAB | lab(62.51, 6.62, -48.39) |
| CIE-LCH | lch(62.51, 48.84, 277.79°) |
| OKLab | oklab(67.85% -0.0287 -0.1371) |
| OKLCH | oklch(67.85% 0.14 258.2) |
| XYZ | xyz(31.2282, 31.0010, 84.4425) |
| Luminance | 0.3100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.62
Dark Sky Blue
#448EE4
ΔE00 4.18
Dodgerblue
#1E90FF
ΔE00 4.57
Soft Blue
#6488EA
ΔE00 5.90
Faded Blue
#658CBB
ΔE00 6.36
Dodger Blue
#3E82FC
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F98ED #EDB45F
analogous
#5FDFED #5F98ED #6D5FED
triadic
#5F98ED #ED5F98 #98ED5F
tetradic
#5F98ED #ED5FDF #EDB45F #5FED6D
square
#5F98ED #ED5FDF #EDB45F #5FED6D
split-complementary
#5F98ED #ED6D5F #DFED5F
monochromatic
#1558BC #2875E7 #5F98ED #96BBF3 #CDDFF9
Accessibility & contrast
On white
2.92
#5F98ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#5F98ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F98ED
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F98ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F98ED | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f98ed; /* rgb */ color: rgb(95, 152, 237); /* oklch */ color: oklch(67.9% 0.140 258.2);
Tailwind
colors: {
custom: {
50: '#97b5f3',
500: '#5f98ed',
950: '#000000',
},
}SCSS
$custom: #5f98ed; $custom-light: #97b5f3; $custom-dark: #000000;
JSON
{
"hex": "#5f98ed",
"rgb": {
"r": 95,
"g": 152,
"b": 237
},
"hsl": {
"h": 215.915,
"s": 79.775,
"l": 65.098
},
"oklch": {
"l": 0.67851,
"c": 0.14012,
"h": 258.2
},
"luminance": 0.31004
}Semantic roles & 50–950 ramp
primary
#5F98ED
secondary
#ECD9BC
accent
#8809DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085