#5F8DF1#5F8DF1
#5F8DF1 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.157 H 264.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8DF1 |
|---|---|
| RGB | rgb(95, 141, 241) |
| HSL | hsl(221, 84%, 66%) |
| HSV | hsv(221, 61%, 95%) |
| CMYK | cmyk(60.6%, 41.5%, 0%, 5.5%) |
| CIE-LAB | lab(59.74, 14.42, -55.00) |
| CIE-LCH | lch(59.74, 56.86, 284.69°) |
| OKLab | oklab(65.77% -0.0165 -0.1566) |
| OKLCH | oklch(65.77% 0.157 264) |
| XYZ | xyz(30.1159, 27.8309, 86.9869) |
| Luminance | 0.2783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.19
Cornflowerblue
#6495ED
ΔE00 2.52
Dodger Blue
#3E82FC
ΔE00 4.07
Dark Sky Blue
#448EE4
ΔE00 4.94
Faded Blue
#658CBB
ΔE00 5.51
Dodgerblue
#1E90FF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8DF1 #F1C35F
analogous
#5FD6F1 #5F8DF1 #7A5FF1
triadic
#5F8DF1 #F15F8D #8DF15F
tetradic
#5F8DF1 #F15FD6 #F1C35F #5FF17A
square
#5F8DF1 #F15FD6 #F1C35F #5FF17A
split-complementary
#5F8DF1 #F17A5F #D6F15F
monochromatic
#114AC4 #2765EC #5F8DF1 #97B5F6 #D0DDFB
Accessibility & contrast
On white
3.20
#5F8DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#5F8DF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8DF1
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8DF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8DF1 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5f8df1; /* rgb */ color: rgb(95, 141, 241); /* oklch */ color: oklch(65.8% 0.157 264.0);
Tailwind
colors: {
custom: {
50: '#98adf6',
500: '#5f8df1',
950: '#000000',
},
}SCSS
$custom: #5f8df1; $custom-light: #98adf6; $custom-dark: #000000;
JSON
{
"hex": "#5f8df1",
"rgb": {
"r": 95,
"g": 141,
"b": 241
},
"hsl": {
"h": 221.096,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.6577,
"c": 0.15749,
"h": 264
},
"luminance": 0.27834
}Semantic roles & 50–950 ramp
primary
#5F8DF1
secondary
#EEDFBE
accent
#9B05E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85