#5F8AFA#5F8AFA
#5F8AFA is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.7% C 0.173 H 266.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8AFA |
|---|---|
| RGB | rgb(95, 138, 250) |
| HSL | hsl(223, 94%, 68%) |
| HSV | hsv(223, 62%, 98%) |
| CMYK | cmyk(62%, 44.8%, 0%, 2%) |
| CIE-LAB | lab(59.44, 19.20, -60.43) |
| CIE-LCH | lch(59.44, 63.41, 287.63°) |
| OKLab | oklab(65.71% -0.0121 -0.1726) |
| OKLCH | oklch(65.71% 0.173 266) |
| XYZ | xyz(31.0572, 27.5092, 94.0971) |
| Luminance | 0.2751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.93
Cornflowerblue
#6495ED
ΔE00 3.80
Dodger Blue
#3E82FC
ΔE00 3.80
Lightish Blue
#3D7AFD
ΔE00 5.41
Dark Sky Blue
#448EE4
ΔE00 6.11
Clear Blue
#247AFD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8AFA #FACF5F
analogous
#5FD7FA #5F8AFA #825FFA
triadic
#5F8AFA #FA5F8A #8AFA5F
tetradic
#5F8AFA #FA5FD7 #FACF5F #5FFA82
square
#5F8AFA #FA5FD7 #FACF5F #5FFA82
split-complementary
#5F8AFA #FA825F #D7FA5F
monochromatic
#0741D8 #245FF8 #5F8AFA #9AB5FC #D6E1FE
Accessibility & contrast
On white
3.23
#5F8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#5F8AFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8AFA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8AFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8AFA | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5f8afa; /* rgb */ color: rgb(95, 138, 250); /* oklch */ color: oklch(65.7% 0.173 266.0);
Tailwind
colors: {
custom: {
50: '#9aabfc',
500: '#5f8afa',
950: '#000000',
},
}SCSS
$custom: #5f8afa; $custom-light: #9aabfc; $custom-dark: #000000;
JSON
{
"hex": "#5f8afa",
"rgb": {
"r": 95,
"g": 138,
"b": 250
},
"hsl": {
"h": 223.355,
"s": 93.939,
"l": 67.647
},
"oklch": {
"l": 0.65708,
"c": 0.17302,
"h": 266
},
"luminance": 0.27512
}Semantic roles & 50–950 ramp
primary
#5F8AFA
secondary
#F2E5C2
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86