#5C81EB#5C81EB
#5C81EB is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.165 H 267.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5C81EB |
|---|---|
| RGB | rgb(92, 129, 235) |
| HSL | hsl(224, 78%, 64%) |
| HSV | hsv(224, 61%, 92%) |
| CMYK | cmyk(60.9%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(56.06, 19.11, -57.55) |
| CIE-LCH | lch(56.06, 60.64, 288.37°) |
| OKLab | oklab(62.8% -0.0082 -0.1643) |
| OKLCH | oklch(62.8% 0.165 267.1) |
| XYZ | xyz(27.2542, 23.9716, 81.7719) |
| Luminance | 0.2397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.25
Dodger Blue
#3E82FC
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 3.53
Cornflower
#6A79F7
ΔE00 4.54
Clear Blue
#247AFD
ΔE00 4.79
Azure
#007FFF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C81EB #EBC65C
analogous
#5CC8EB #5C81EB #7F5CEB
triadic
#5C81EB #EB5C81 #81EB5C
tetradic
#5C81EB #EB5CC8 #EBC65C #5CEB7F
square
#5C81EB #EB5CC8 #EBC65C #5CEB7F
split-complementary
#5C81EB #EB7F5C #C8EB5C
monochromatic
#1640B6 #2557E4 #5C81EB #93ABF2 #C9D5F8
Accessibility & contrast
On white
3.62
#5C81EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5C81EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C81EB
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C81EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C81EB | 1.00 | 3.62 | 5.79 | 5.79 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5c81eb; /* rgb */ color: rgb(92, 129, 235); /* oklch */ color: oklch(62.8% 0.165 267.1);
Tailwind
colors: {
custom: {
50: '#96a5f2',
500: '#5c81eb',
950: '#000000',
},
}SCSS
$custom: #5c81eb; $custom-light: #96a5f2; $custom-dark: #000000;
JSON
{
"hex": "#5c81eb",
"rgb": {
"r": 92,
"g": 129,
"b": 235
},
"hsl": {
"h": 224.476,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.62798,
"c": 0.16452,
"h": 267.1
},
"luminance": 0.23974
}Semantic roles & 50–950 ramp
primary
#5C81EB
secondary
#EADDB8
accent
#A50BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85