#5D81F7#5D81F7
#5D81F7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.180 H 268.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5D81F7 |
|---|---|
| RGB | rgb(93, 129, 247) |
| HSL | hsl(226, 91%, 67%) |
| HSV | hsv(226, 62%, 97%) |
| CMYK | cmyk(62.3%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(56.82, 23.29, -62.98) |
| CIE-LCH | lch(56.82, 67.15, 290.29°) |
| OKLab | oklab(63.62% -0.0057 -0.1803) |
| OKLCH | oklch(63.62% 0.18 268.2) |
| XYZ | xyz(29.1472, 24.7405, 91.2170) |
| Luminance | 0.2474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.62
Lightish Blue
#3D7AFD
ΔE00 3.55
Dodger Blue
#3E82FC
ΔE00 3.72
Cornflower
#6A79F7
ΔE00 3.84
Clear Blue
#247AFD
ΔE00 5.09
Azure
#007FFF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D81F7 #F7D35D
analogous
#5DCEF7 #5D81F7 #865DF7
triadic
#5D81F7 #F75D81 #81F75D
tetradic
#5D81F7 #F75DCE #F7D35D #5DF786
square
#5D81F7 #F75DCE #F7D35D #5DF786
split-complementary
#5D81F7 #F7865D #CEF75D
monochromatic
#0A38CF #2354F4 #5D81F7 #97AEFA #D2DCFD
Accessibility & contrast
On white
3.53
#5D81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#5D81F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D81F7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D81F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D81F7 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#2382F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5d81f7; /* rgb */ color: rgb(93, 129, 247); /* oklch */ color: oklch(63.6% 0.180 268.2);
Tailwind
colors: {
custom: {
50: '#98a5fa',
500: '#5d81f7',
950: '#000000',
},
}SCSS
$custom: #5d81f7; $custom-light: #98a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5d81f7",
"rgb": {
"r": 93,
"g": 129,
"b": 247
},
"hsl": {
"h": 225.974,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.63622,
"c": 0.18035,
"h": 268.2
},
"luminance": 0.24743
}Semantic roles & 50–950 ramp
primary
#5D81F7
secondary
#F1E5BF
accent
#B000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85