#5D81FA#5D81FA
#5D81FA is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.8% C 0.184 H 268.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5D81FA |
|---|---|
| RGB | rgb(93, 129, 250) |
| HSL | hsl(226, 94%, 67%) |
| HSV | hsv(226, 63%, 98%) |
| CMYK | cmyk(62.8%, 48.4%, 0%, 2%) |
| CIE-LAB | lab(57.00, 24.29, -64.35) |
| CIE-LCH | lch(57.00, 68.78, 290.68°) |
| OKLab | oklab(63.82% -0.0053 -0.1843) |
| OKLCH | oklch(63.82% 0.184 268.3) |
| XYZ | xyz(29.6139, 24.9272, 93.6747) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.82
Lightish Blue
#3D7AFD
ΔE00 3.61
Cornflower
#6A79F7
ΔE00 3.77
Dodger Blue
#3E82FC
ΔE00 3.81
Clear Blue
#247AFD
ΔE00 5.19
Azure
#007FFF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D81FA #FAD65D
analogous
#5DD0FA #5D81FA #885DFA
triadic
#5D81FA #FA5D81 #81FA5D
tetradic
#5D81FA #FA5DD0 #FAD65D #5DFA88
square
#5D81FA #FA5DD0 #FAD65D #5DFA88
split-complementary
#5D81FA #FA885D #D0FA5D
monochromatic
#0736D6 #2253F8 #5D81FA #98AFFC #D4DDFE
Accessibility & contrast
On white
3.51
#5D81FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#5D81FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D81FA
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D81FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D81FA | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#1B82F7
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5d81fa; /* rgb */ color: rgb(93, 129, 250); /* oklch */ color: oklch(63.8% 0.184 268.3);
Tailwind
colors: {
custom: {
50: '#99a5fd',
500: '#5d81fa',
950: '#000000',
},
}SCSS
$custom: #5d81fa; $custom-light: #99a5fd; $custom-dark: #000000;
JSON
{
"hex": "#5d81fa",
"rgb": {
"r": 93,
"g": 129,
"b": 250
},
"hsl": {
"h": 226.242,
"s": 94.012,
"l": 67.255
},
"oklch": {
"l": 0.6382,
"c": 0.18436,
"h": 268.3
},
"luminance": 0.2493
}Semantic roles & 50–950 ramp
primary
#5D81FA
secondary
#F2E7C1
accent
#B100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86