#5F87F1#5F87F1
#5F87F1 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.5% C 0.165 H 266.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F87F1 |
|---|---|
| RGB | rgb(95, 135, 241) |
| HSL | hsl(224, 84%, 66%) |
| HSV | hsv(224, 61%, 95%) |
| CMYK | cmyk(60.6%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(58.14, 18.02, -57.55) |
| CIE-LCH | lch(58.14, 60.30, 287.39°) |
| OKLab | oklab(64.54% -0.0105 -0.1642) |
| OKLCH | oklch(64.54% 0.165 266.3) |
| XYZ | xyz(29.2550, 26.1092, 86.6999) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 0.95
Dodger Blue
#3E82FC
ΔE00 3.46
Cornflowerblue
#6495ED
ΔE00 4.53
Lightish Blue
#3D7AFD
ΔE00 4.69
Clear Blue
#247AFD
ΔE00 5.69
Cornflower
#6A79F7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F87F1 #F1C95F
analogous
#5FD0F1 #5F87F1 #805FF1
triadic
#5F87F1 #F15F87 #87F15F
tetradic
#5F87F1 #F15FD0 #F1C95F #5FF180
square
#5F87F1 #F15FD0 #F1C95F #5FF180
split-complementary
#5F87F1 #F1805F #D0F15F
monochromatic
#1142C4 #275DEC #5F87F1 #97B1F6 #D0DBFB
Accessibility & contrast
On white
3.37
#5F87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#5F87F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F87F1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F87F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F87F1 | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5693F5
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5f87f1; /* rgb */ color: rgb(95, 135, 241); /* oklch */ color: oklch(64.5% 0.165 266.3);
Tailwind
colors: {
custom: {
50: '#98a9f6',
500: '#5f87f1',
950: '#000000',
},
}SCSS
$custom: #5f87f1; $custom-light: #98a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5f87f1",
"rgb": {
"r": 95,
"g": 135,
"b": 241
},
"hsl": {
"h": 223.562,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.64544,
"c": 0.1645,
"h": 266.3
},
"luminance": 0.26112
}Semantic roles & 50–950 ramp
primary
#5F87F1
secondary
#EEE1BE
accent
#A405E0
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85