#5E81EB#5E81EB
#5E81EB is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.164 H 267.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5E81EB |
|---|---|
| RGB | rgb(94, 129, 235) |
| HSL | hsl(225, 78%, 65%) |
| HSV | hsv(225, 60%, 92%) |
| CMYK | cmyk(60%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(56.16, 19.48, -57.38) |
| CIE-LCH | lch(56.16, 60.60, 288.75°) |
| OKLab | oklab(62.91% -0.0064 -0.1638) |
| OKLCH | oklch(62.91% 0.164 267.8) |
| XYZ | xyz(27.4567, 24.0760, 81.7814) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.22
Lightish Blue
#3D7AFD
ΔE00 3.74
Dodger Blue
#3E82FC
ΔE00 3.82
Cornflower
#6A79F7
ΔE00 4.29
Clear Blue
#247AFD
ΔE00 5.06
Faded Blue
#658CBB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E81EB #EBC85E
analogous
#5EC8EB #5E81EB #815EEB
triadic
#5E81EB #EB5E81 #81EB5E
tetradic
#5E81EB #EB5EC8 #EBC85E #5EEB81
square
#5E81EB #EB5EC8 #EBC85E #5EEB81
split-complementary
#5E81EB #EB815E #C8EB5E
monochromatic
#173FB8 #2856E4 #5E81EB #94ACF2 #CBD6F9
Accessibility & contrast
On white
3.61
#5E81EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#5E81EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E81EB
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E81EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E81EB | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5e81eb; /* rgb */ color: rgb(94, 129, 235); /* oklch */ color: oklch(62.9% 0.164 267.8);
Tailwind
colors: {
custom: {
50: '#97a5f2',
500: '#5e81eb',
950: '#000000',
},
}SCSS
$custom: #5e81eb; $custom-light: #97a5f2; $custom-dark: #000000;
JSON
{
"hex": "#5e81eb",
"rgb": {
"r": 94,
"g": 129,
"b": 235
},
"hsl": {
"h": 225.106,
"s": 77.901,
"l": 64.51
},
"oklch": {
"l": 0.62906,
"c": 0.16389,
"h": 267.8
},
"luminance": 0.24078
}Semantic roles & 50–950 ramp
primary
#5E81EB
secondary
#EBDFBA
accent
#A70BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85