#5F8EF5#5F8EF5
#5F8EF5 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.162 H 264.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8EF5 |
|---|---|
| RGB | rgb(95, 142, 245) |
| HSL | hsl(221, 88%, 67%) |
| HSV | hsv(221, 61%, 96%) |
| CMYK | cmyk(61.2%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(60.22, 15.15, -56.43) |
| CIE-LCH | lch(60.22, 58.43, 285.03°) |
| OKLab | oklab(66.22% -0.0168 -0.1608) |
| OKLCH | oklch(66.22% 0.162 264) |
| XYZ | xyz(30.8680, 28.3687, 90.2175) |
| Luminance | 0.2837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.32
Soft Blue
#6488EA
ΔE00 2.58
Dodger Blue
#3E82FC
ΔE00 4.28
Dark Sky Blue
#448EE4
ΔE00 5.06
Faded Blue
#658CBB
ΔE00 5.88
Dodgerblue
#1E90FF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8EF5 #F5C65F
analogous
#5FD9F5 #5F8EF5 #7B5FF5
triadic
#5F8EF5 #F55F8E #8EF55F
tetradic
#5F8EF5 #F55FD9 #F5C65F #5FF57B
square
#5F8EF5 #F55FD9 #F5C65F #5FF57B
split-complementary
#5F8EF5 #F57B5F #D9F55F
monochromatic
#0D49CD #2565F1 #5F8EF5 #99B7F9 #D2DFFC
Accessibility & contrast
On white
3.15
#5F8EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#5F8EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8EF5
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8EF5 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F99F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5f8ef5; /* rgb */ color: rgb(95, 142, 245); /* oklch */ color: oklch(66.2% 0.162 264.0);
Tailwind
colors: {
custom: {
50: '#99aef9',
500: '#5f8ef5',
950: '#000000',
},
}SCSS
$custom: #5f8ef5; $custom-light: #99aef9; $custom-dark: #000000;
JSON
{
"hex": "#5f8ef5",
"rgb": {
"r": 95,
"g": 142,
"b": 245
},
"hsl": {
"h": 221.2,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.66215,
"c": 0.16169,
"h": 264
},
"luminance": 0.28371
}Semantic roles & 50–950 ramp
primary
#5F8EF5
secondary
#F0E1C0
accent
#9D01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85