#5C81F7#5C81F7
#5C81F7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.181 H 267.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5C81F7 |
|---|---|
| RGB | rgb(92, 129, 247) |
| HSL | hsl(226, 91%, 66%) |
| HSV | hsv(226, 63%, 97%) |
| CMYK | cmyk(62.8%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(56.77, 23.12, -63.07) |
| CIE-LCH | lch(56.77, 67.17, 290.13°) |
| OKLab | oklab(63.57% -0.0066 -0.1805) |
| OKLCH | oklch(63.57% 0.181 267.9) |
| XYZ | xyz(29.0467, 24.6886, 91.2123) |
| Luminance | 0.2469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.61
Lightish Blue
#3D7AFD
ΔE00 3.43
Dodger Blue
#3E82FC
ΔE00 3.57
Cornflower
#6A79F7
ΔE00 3.95
Clear Blue
#247AFD
ΔE00 4.95
Azure
#007FFF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C81F7 #F7D25C
analogous
#5CCFF7 #5C81F7 #855CF7
triadic
#5C81F7 #F75C81 #81F75C
tetradic
#5C81F7 #F75CCF #F7D25C #5CF785
square
#5C81F7 #F75CCF #F7D25C #5CF785
split-complementary
#5C81F7 #F7855C #CFF75C
monochromatic
#0A39CE #2254F4 #5C81F7 #96AEFA #D1DBFD
Accessibility & contrast
On white
3.54
#5C81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#5C81F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C81F7
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C81F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C81F7 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 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)
#4390FB
Deuteranopia (green-blind)
#2282F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5c81f7; /* rgb */ color: rgb(92, 129, 247); /* oklch */ color: oklch(63.6% 0.181 267.9);
Tailwind
colors: {
custom: {
50: '#98a5fa',
500: '#5c81f7',
950: '#000000',
},
}SCSS
$custom: #5c81f7; $custom-light: #98a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5c81f7",
"rgb": {
"r": 92,
"g": 129,
"b": 247
},
"hsl": {
"h": 225.677,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.6357,
"c": 0.18065,
"h": 267.9
},
"luminance": 0.24691
}Semantic roles & 50–950 ramp
primary
#5C81F7
secondary
#F1E5BE
accent
#AF00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85