#5C81EE#5C81EE
#5C81EE is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.0% C 0.169 H 267.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5C81EE |
|---|---|
| RGB | rgb(92, 129, 238) |
| HSL | hsl(225, 81%, 65%) |
| HSV | hsv(225, 61%, 93%) |
| CMYK | cmyk(61.3%, 45.8%, 0%, 6.7%) |
| CIE-LAB | lab(56.23, 20.11, -58.94) |
| CIE-LCH | lch(56.23, 62.28, 288.84°) |
| OKLab | oklab(62.99% -0.0078 -0.1684) |
| OKLCH | oklch(62.99% 0.169 267.3) |
| XYZ | xyz(27.6912, 24.1465, 84.0738) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.27
Lightish Blue
#3D7AFD
ΔE00 3.45
Dodger Blue
#3E82FC
ΔE00 3.49
Cornflower
#6A79F7
ΔE00 4.35
Clear Blue
#247AFD
ΔE00 4.79
Azure
#007FFF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C81EE #EEC95C
analogous
#5CCAEE #5C81EE #805CEE
triadic
#5C81EE #EE5C81 #81EE5C
tetradic
#5C81EE #EE5CCA #EEC95C #5CEE80
square
#5C81EE #EE5CCA #EEC95C #5CEE80
split-complementary
#5C81EE #EE805C #CAEE5C
monochromatic
#143EBC #2556E8 #5C81EE #93ACF4 #CBD7FA
Accessibility & contrast
On white
3.60
#5C81EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#5C81EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C81EE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C81EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C81EE | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5c81ee; /* rgb */ color: rgb(92, 129, 238); /* oklch */ color: oklch(63.0% 0.169 267.3);
Tailwind
colors: {
custom: {
50: '#96a5f4',
500: '#5c81ee',
950: '#000000',
},
}SCSS
$custom: #5c81ee; $custom-light: #96a5f4; $custom-dark: #000000;
JSON
{
"hex": "#5c81ee",
"rgb": {
"r": 92,
"g": 129,
"b": 238
},
"hsl": {
"h": 224.795,
"s": 81.111,
"l": 64.706
},
"oklch": {
"l": 0.62988,
"c": 0.16858,
"h": 267.3
},
"luminance": 0.24149
}Semantic roles & 50–950 ramp
primary
#5C81EE
secondary
#ECDFBA
accent
#A708DD
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85