#5F7FFD#5F7FFD
#5F7FFD is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.190 H 269.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FFD |
|---|---|
| RGB | rgb(95, 127, 253) |
| HSL | hsl(228, 98%, 68%) |
| HSV | hsv(228, 62%, 99%) |
| CMYK | cmyk(62.5%, 49.8%, 0%, 0.8%) |
| CIE-LAB | lab(56.78, 26.84, -66.35) |
| CIE-LCH | lch(56.78, 71.58, 292.02°) |
| OKLab | oklab(63.74% -0.0013 -0.1902) |
| OKLCH | oklch(63.74% 0.19 269.6) |
| XYZ | xyz(30.0323, 24.7009, 96.0945) |
| Luminance | 0.2470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.95
Soft Blue
#6488EA
ΔE00 3.62
Lightish Blue
#3D7AFD
ΔE00 3.84
Dodger Blue
#3E82FC
ΔE00 4.55
Clear Blue
#247AFD
ΔE00 5.58
Azure
#007FFF
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FFD #FDDD5F
analogous
#5FCEFD #5F7FFD #8E5FFD
triadic
#5F7FFD #FD5F7F #7FFD5F
tetradic
#5F7FFD #FD5FCE #FDDD5F #5FFD8E
square
#5F7FFD #FD5FCE #FDDD5F #5FFD8E
split-complementary
#5F7FFD #FD8E5F #CEFD5F
monochromatic
#032FDF #234FFC #5F7FFD #9BAFFE #D8E0FF
Accessibility & contrast
On white
3.53
#5F7FFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#5F7FFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FFD
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FFD | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#0381FA
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5f7ffd; /* rgb */ color: rgb(95, 127, 253); /* oklch */ color: oklch(63.7% 0.190 269.6);
Tailwind
colors: {
custom: {
50: '#9aa3ff',
500: '#5f7ffd',
950: '#000000',
},
}SCSS
$custom: #5f7ffd; $custom-light: #9aa3ff; $custom-dark: #000000;
JSON
{
"hex": "#5f7ffd",
"rgb": {
"r": 95,
"g": 127,
"b": 253
},
"hsl": {
"h": 227.848,
"s": 97.531,
"l": 68.235
},
"oklch": {
"l": 0.63739,
"c": 0.19016,
"h": 269.6
},
"luminance": 0.24703
}Semantic roles & 50–950 ramp
primary
#5F7FFD
secondary
#F4EAC4
accent
#B700E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86