#5F7CFD#5F7CFD
#5F7CFD is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.2% C 0.194 H 270.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7CFD |
|---|---|
| RGB | rgb(95, 124, 253) |
| HSL | hsl(229, 98%, 68%) |
| HSV | hsv(229, 62%, 99%) |
| CMYK | cmyk(62.5%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(56.03, 28.65, -67.58) |
| CIE-LCH | lch(56.03, 73.40, 292.98°) |
| OKLab | oklab(63.17% 0.0014 -0.1938) |
| OKLCH | oklch(63.17% 0.194 270.4) |
| XYZ | xyz(29.6506, 23.9375, 95.9673) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.18
Lightish Blue
#3D7AFD
ΔE00 3.89
Soft Blue
#6488EA
ΔE00 4.47
Dodger Blue
#3E82FC
ΔE00 5.16
Clear Blue
#247AFD
ΔE00 5.73
Cornflower Blue
#5170D7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7CFD #FDE05F
analogous
#5FCBFD #5F7CFD #915FFD
triadic
#5F7CFD #FD5F7C #7CFD5F
tetradic
#5F7CFD #FD5FCB #FDE05F #5FFD91
square
#5F7CFD #FD5FCB #FDE05F #5FFD91
split-complementary
#5F7CFD #FD915F #CBFD5F
monochromatic
#032BDF #234BFC #5F7CFD #9BADFE #D8DFFF
Accessibility & contrast
On white
3.63
#5F7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5F7CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7CFD
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7CFD | 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)
#2F8EFF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#009AB1
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f7cfd; /* rgb */ color: rgb(95, 124, 253); /* oklch */ color: oklch(63.2% 0.194 270.4);
Tailwind
colors: {
custom: {
50: '#9ba1ff',
500: '#5f7cfd',
950: '#000000',
},
}SCSS
$custom: #5f7cfd; $custom-light: #9ba1ff; $custom-dark: #000000;
JSON
{
"hex": "#5f7cfd",
"rgb": {
"r": 95,
"g": 124,
"b": 253
},
"hsl": {
"h": 228.987,
"s": 97.531,
"l": 68.235
},
"oklch": {
"l": 0.63166,
"c": 0.1938,
"h": 270.4
},
"luminance": 0.2394
}Semantic roles & 50–950 ramp
primary
#5F7CFD
secondary
#F4EBC4
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86