#5F7FF1#5F7FF1
#5F7FF1 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.174 H 269.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FF1 |
|---|---|
| RGB | rgb(95, 127, 241) |
| HSL | hsl(227, 84%, 66%) |
| HSV | hsv(227, 61%, 95%) |
| CMYK | cmyk(60.6%, 47.3%, 0%, 5.5%) |
| CIE-LAB | lab(56.05, 22.86, -60.90) |
| CIE-LCH | lch(56.05, 65.05, 290.57°) |
| OKLab | oklab(62.94% -0.0026 -0.1741) |
| OKLCH | oklch(62.94% 0.174 269.1) |
| XYZ | xyz(28.1805, 23.9601, 86.3417) |
| Luminance | 0.2396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.00
Cornflower
#6A79F7
ΔE00 3.26
Lightish Blue
#3D7AFD
ΔE00 3.63
Dodger Blue
#3E82FC
ΔE00 4.29
Clear Blue
#247AFD
ΔE00 5.24
Cornflower Blue
#5170D7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FF1 #F1D15F
analogous
#5FC8F1 #5F7FF1 #885FF1
triadic
#5F7FF1 #F15F7F #7FF15F
tetradic
#5F7FF1 #F15FC8 #F1D15F #5FF188
square
#5F7FF1 #F15FC8 #F1D15F #5FF188
split-complementary
#5F7FF1 #F1885F #C8F15F
monochromatic
#1138C4 #2752EC #5F7FF1 #97ACF6 #D0D9FB
Accessibility & contrast
On white
3.63
#5F7FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5F7FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FF1
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FF1 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468DF5
Deuteranopia (green-blind)
#2B80EF
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f7ff1; /* rgb */ color: rgb(95, 127, 241); /* oklch */ color: oklch(62.9% 0.174 269.1);
Tailwind
colors: {
custom: {
50: '#99a3f6',
500: '#5f7ff1',
950: '#000000',
},
}SCSS
$custom: #5f7ff1; $custom-light: #99a3f6; $custom-dark: #000000;
JSON
{
"hex": "#5f7ff1",
"rgb": {
"r": 95,
"g": 127,
"b": 241
},
"hsl": {
"h": 226.849,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.62945,
"c": 0.17413,
"h": 269.1
},
"luminance": 0.23963
}Semantic roles & 50–950 ramp
primary
#5F7FF1
secondary
#EEE3BE
accent
#B005E0
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85