#5D81EB#5D81EB
#5D81EB is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.164 H 267.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5D81EB |
|---|---|
| RGB | rgb(93, 129, 235) |
| HSL | hsl(225, 78%, 64%) |
| HSV | hsv(225, 60%, 92%) |
| CMYK | cmyk(60.4%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(56.11, 19.29, -57.47) |
| CIE-LCH | lch(56.11, 60.62, 288.56°) |
| OKLab | oklab(62.85% -0.0073 -0.164) |
| OKLCH | oklch(62.85% 0.164 267.4) |
| XYZ | xyz(27.3548, 24.0235, 81.7766) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.23
Lightish Blue
#3D7AFD
ΔE00 3.63
Dodger Blue
#3E82FC
ΔE00 3.67
Cornflower
#6A79F7
ΔE00 4.41
Clear Blue
#247AFD
ΔE00 4.92
Azure
#007FFF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D81EB #EBC75D
analogous
#5DC8EB #5D81EB #805DEB
triadic
#5D81EB #EB5D81 #81EB5D
tetradic
#5D81EB #EB5DC8 #EBC75D #5DEB80
square
#5D81EB #EB5DC8 #EBC75D #5DEB80
split-complementary
#5D81EB #EB805D #C8EB5D
monochromatic
#173FB7 #2757E4 #5D81EB #93ABF2 #CAD6F8
Accessibility & contrast
On white
3.62
#5D81EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5D81EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D81EB
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D81EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D81EB | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5d81eb; /* rgb */ color: rgb(93, 129, 235); /* oklch */ color: oklch(62.9% 0.164 267.4);
Tailwind
colors: {
custom: {
50: '#97a5f2',
500: '#5d81eb',
950: '#000000',
},
}SCSS
$custom: #5d81eb; $custom-light: #97a5f2; $custom-dark: #000000;
JSON
{
"hex": "#5d81eb",
"rgb": {
"r": 93,
"g": 129,
"b": 235
},
"hsl": {
"h": 224.789,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.62851,
"c": 0.1642,
"h": 267.4
},
"luminance": 0.24026
}Semantic roles & 50–950 ramp
primary
#5D81EB
secondary
#EBDEB9
accent
#A60BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85