#5F7EF7#5F7EF7
#5F7EF7 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.1% C 0.183 H 269.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7EF7 |
|---|---|
| RGB | rgb(95, 126, 247) |
| HSL | hsl(228, 90%, 67%) |
| HSV | hsv(228, 62%, 97%) |
| CMYK | cmyk(61.5%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(56.16, 25.45, -64.05) |
| CIE-LCH | lch(56.16, 68.92, 291.67°) |
| OKLab | oklab(63.14% -0.001 -0.1834) |
| OKLCH | oklch(63.14% 0.183 269.7) |
| XYZ | xyz(28.9630, 24.0675, 91.0968) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.74
Soft Blue
#6488EA
ΔE00 3.56
Lightish Blue
#3D7AFD
ΔE00 3.66
Dodger Blue
#3E82FC
ΔE00 4.57
Clear Blue
#247AFD
ΔE00 5.40
Cornflower Blue
#5170D7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7EF7 #F7D85F
analogous
#5FCAF7 #5F7EF7 #8C5FF7
triadic
#5F7EF7 #F75F7E #7EF75F
tetradic
#5F7EF7 #F75FCA #F7D85F #5FF78C
square
#5F7EF7 #F75FCA #F7D85F #5FF78C
split-complementary
#5F7EF7 #F78C5F #CAF75F
monochromatic
#0A33D1 #254FF4 #5F7EF7 #99ADFA #D4DCFD
Accessibility & contrast
On white
3.61
#5F7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5F7EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7EF7
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7EF7 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#1980F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5f7ef7; /* rgb */ color: rgb(95, 126, 247); /* oklch */ color: oklch(63.1% 0.183 269.7);
Tailwind
colors: {
custom: {
50: '#99a3fa',
500: '#5f7ef7',
950: '#000000',
},
}SCSS
$custom: #5f7ef7; $custom-light: #99a3fa; $custom-dark: #000000;
JSON
{
"hex": "#5f7ef7",
"rgb": {
"r": 95,
"g": 126,
"b": 247
},
"hsl": {
"h": 227.763,
"s": 90.476,
"l": 67.059
},
"oklch": {
"l": 0.63144,
"c": 0.1834,
"h": 269.7
},
"luminance": 0.2407
}Semantic roles & 50–950 ramp
primary
#5F7EF7
secondary
#F1E7C1
accent
#B700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85