#5F8EF8#5F8EF8
#5F8EF8 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.166 H 264.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8EF8 |
|---|---|
| RGB | rgb(95, 142, 248) |
| HSL | hsl(222, 92%, 67%) |
| HSV | hsv(222, 62%, 97%) |
| CMYK | cmyk(61.7%, 42.7%, 0%, 2.7%) |
| CIE-LAB | lab(60.39, 16.14, -57.82) |
| CIE-LCH | lch(60.39, 60.03, 285.60°) |
| OKLab | oklab(66.4% -0.0163 -0.1649) |
| OKLCH | oklch(66.4% 0.166 264.4) |
| XYZ | xyz(31.3297, 28.5534, 92.6491) |
| Luminance | 0.2856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.46
Soft Blue
#6488EA
ΔE00 2.68
Dodger Blue
#3E82FC
ΔE00 4.32
Dark Sky Blue
#448EE4
ΔE00 5.29
Faded Blue
#658CBB
ΔE00 6.14
Dodgerblue
#1E90FF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8EF8 #F8C95F
analogous
#5FDAF8 #5F8EF8 #7D5FF8
triadic
#5F8EF8 #F85F8E #8EF85F
tetradic
#5F8EF8 #F85FDA #F8C95F #5FF87D
square
#5F8EF8 #F85FDA #F8C95F #5FF87D
split-complementary
#5F8EF8 #F87D5F #DAF85F
monochromatic
#0947D3 #2465F5 #5F8EF8 #9AB7FB #D4E1FD
Accessibility & contrast
On white
3.13
#5F8EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#5F8EF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8EF8
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8EF8 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5f8ef8; /* rgb */ color: rgb(95, 142, 248); /* oklch */ color: oklch(66.4% 0.166 264.4);
Tailwind
colors: {
custom: {
50: '#99aefb',
500: '#5f8ef8',
950: '#000000',
},
}SCSS
$custom: #5f8ef8; $custom-light: #99aefb; $custom-dark: #000000;
JSON
{
"hex": "#5f8ef8",
"rgb": {
"r": 95,
"g": 142,
"b": 248
},
"hsl": {
"h": 221.569,
"s": 91.617,
"l": 67.255
},
"oklch": {
"l": 0.66395,
"c": 0.16569,
"h": 264.4
},
"luminance": 0.28556
}Semantic roles & 50–950 ramp
primary
#5F8EF8
secondary
#F2E3C1
accent
#9F00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85