#5F7CFC#5F7CFC
#5F7CFC is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.1% C 0.192 H 270.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7CFC |
|---|---|
| RGB | rgb(95, 124, 252) |
| HSL | hsl(229, 96%, 68%) |
| HSV | hsv(229, 62%, 99%) |
| CMYK | cmyk(62.3%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(55.96, 28.32, -67.13) |
| CIE-LCH | lch(55.96, 72.86, 292.87°) |
| OKLab | oklab(63.1% 0.0014 -0.1925) |
| OKLCH | oklch(63.1% 0.192 270.4) |
| XYZ | xyz(29.4917, 23.8739, 95.1305) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.17
Lightish Blue
#3D7AFD
ΔE00 3.85
Soft Blue
#6488EA
ΔE00 4.42
Dodger Blue
#3E82FC
ΔE00 5.13
Clear Blue
#247AFD
ΔE00 5.69
Cornflower Blue
#5170D7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7CFC #FCDF5F
analogous
#5FCBFC #5F7CFC #905FFC
triadic
#5F7CFC #FC5F7C #7CFC5F
tetradic
#5F7CFC #FC5FCB #FCDF5F #5FFC90
square
#5F7CFC #FC5FCB #FCDF5F #5FFC90
split-complementary
#5F7CFC #FC905F #CBFC5F
monochromatic
#042CDC #234BFB #5F7CFC #9BADFD #D7DEFE
Accessibility & contrast
On white
3.64
#5F7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#5F7CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7CFC
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7CFC | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#007FF9
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f7cfc; /* rgb */ color: rgb(95, 124, 252); /* oklch */ color: oklch(63.1% 0.192 270.4);
Tailwind
colors: {
custom: {
50: '#9aa1fe',
500: '#5f7cfc',
950: '#000000',
},
}SCSS
$custom: #5f7cfc; $custom-light: #9aa1fe; $custom-dark: #000000;
JSON
{
"hex": "#5f7cfc",
"rgb": {
"r": 95,
"g": 124,
"b": 252
},
"hsl": {
"h": 228.917,
"s": 96.319,
"l": 68.039
},
"oklch": {
"l": 0.63097,
"c": 0.19247,
"h": 270.4
},
"luminance": 0.23876
}Semantic roles & 50–950 ramp
primary
#5F7CFC
secondary
#F3EBC3
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86