#5FA1FE#5FA1FE
#5FA1FE is a light, vivid blue. Relative luminance 0.351; OKLCH L 70.7% C 0.153 H 257.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA1FE |
|---|---|
| RGB | rgb(95, 161, 254) |
| HSL | hsl(215, 99%, 68%) |
| HSV | hsv(215, 63%, 100%) |
| CMYK | cmyk(62.6%, 36.6%, 0%, 0.4%) |
| CIE-LAB | lab(65.81, 6.95, -52.48) |
| CIE-LCH | lch(65.81, 52.94, 277.54°) |
| OKLab | oklab(70.69% -0.0338 -0.149) |
| OKLCH | oklch(70.69% 0.153 257.2) |
| XYZ | xyz(35.3472, 35.0750, 98.6541) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 4.30
Dodgerblue
#1E90FF
ΔE00 5.92
Dark Sky Blue
#448EE4
ΔE00 6.54
Azure (survey)
#069AF3
ΔE00 6.90
Carolina Blue
#8AB8FE
ΔE00 7.02
Sky Blue (survey)
#75BBFD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA1FE #FEBC5F
analogous
#5FF1FE #5FA1FE #6C5FFE
triadic
#5FA1FE #FE5FA1 #A1FE5F
tetradic
#5FA1FE #FE5FF1 #FEBC5F #5FFE6C
square
#5FA1FE #FE5FF1 #FEBC5F #5FFE6C
split-complementary
#5FA1FE #FE6C5F #F1FE5F
monochromatic
#015EE1 #227DFE #5FA1FE #9CC5FE #D9E8FF
Accessibility & contrast
On white
2.62
#5FA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#5FA1FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FA1FE
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA1FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA1FE | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#00B6C3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #5fa1fe; /* rgb */ color: rgb(95, 161, 254); /* oklch */ color: oklch(70.7% 0.153 257.2);
Tailwind
colors: {
custom: {
50: '#9abcff',
500: '#5fa1fe',
950: '#000000',
},
}SCSS
$custom: #5fa1fe; $custom-light: #9abcff; $custom-dark: #000000;
JSON
{
"hex": "#5fa1fe",
"rgb": {
"r": 95,
"g": 161,
"b": 254
},
"hsl": {
"h": 215.094,
"s": 98.758,
"l": 68.431
},
"oklch": {
"l": 0.70694,
"c": 0.1528,
"h": 257.2
},
"luminance": 0.35078
}Semantic roles & 50–950 ramp
primary
#5FA1FE
secondary
#F4E0C4
accent
#8600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086