#5B81EA#5B81EA
#5B81EA is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.7% C 0.163 H 266.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81EA |
|---|---|
| RGB | rgb(91, 129, 234) |
| HSL | hsl(224, 77%, 64%) |
| HSV | hsv(224, 61%, 92%) |
| CMYK | cmyk(61.1%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(55.95, 18.60, -57.17) |
| CIE-LCH | lch(55.95, 60.12, 288.02°) |
| OKLab | oklab(62.68% -0.0093 -0.1632) |
| OKLCH | oklch(62.68% 0.163 266.7) |
| XYZ | xyz(27.0108, 23.8628, 81.0085) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.29
Dodger Blue
#3E82FC
ΔE00 3.41
Lightish Blue
#3D7AFD
ΔE00 3.47
Clear Blue
#247AFD
ΔE00 4.66
Cornflower
#6A79F7
ΔE00 4.73
Azure
#007FFF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81EA #EAC45B
analogous
#5BC8EA #5B81EA #7C5BEA
triadic
#5B81EA #EA5B81 #81EA5B
tetradic
#5B81EA #EA5BC8 #EAC45B #5BEA7C
square
#5B81EA #EA5BC8 #EAC45B #5BEA7C
split-complementary
#5B81EA #EA7C5B #C8EA5B
monochromatic
#1741B4 #2557E3 #5B81EA #91ABF1 #C8D4F8
Accessibility & contrast
On white
3.64
#5B81EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#5B81EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81EA
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81EA | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5b81ea; /* rgb */ color: rgb(91, 129, 234); /* oklch */ color: oklch(62.7% 0.163 266.7);
Tailwind
colors: {
custom: {
50: '#95a5f1',
500: '#5b81ea',
950: '#000000',
},
}SCSS
$custom: #5b81ea; $custom-light: #95a5f1; $custom-dark: #000000;
JSON
{
"hex": "#5b81ea",
"rgb": {
"r": 91,
"g": 129,
"b": 234
},
"hsl": {
"h": 224.056,
"s": 77.297,
"l": 63.725
},
"oklch": {
"l": 0.62682,
"c": 0.16349,
"h": 266.7
},
"luminance": 0.23865
}Semantic roles & 50–950 ramp
primary
#5B81EA
secondary
#EADCB7
accent
#A30CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85