#5B81E6#5B81E6
#5B81E6 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.4% C 0.158 H 266.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81E6 |
|---|---|
| RGB | rgb(91, 129, 230) |
| HSL | hsl(224, 74%, 63%) |
| HSV | hsv(224, 60%, 90%) |
| CMYK | cmyk(60.4%, 43.9%, 0%, 9.8%) |
| CIE-LAB | lab(55.72, 17.26, -55.31) |
| CIE-LCH | lch(55.72, 57.94, 287.34°) |
| OKLab | oklab(62.43% -0.0099 -0.1577) |
| OKLCH | oklch(62.43% 0.158 266.4) |
| XYZ | xyz(26.4427, 23.6356, 78.0162) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.39
Dodger Blue
#3E82FC
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 3.65
Clear Blue
#247AFD
ΔE00 4.70
Cornflower
#6A79F7
ΔE00 5.01
Azure
#007FFF
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81E6 #E6C05B
analogous
#5BC7E6 #5B81E6 #7A5BE6
triadic
#5B81E6 #E65B81 #81E65B
tetradic
#5B81E6 #E65BC7 #E6C05B #5BE67A
square
#5B81E6 #E65BC7 #E6C05B #5BE67A
split-complementary
#5B81E6 #E67A5B #C7E65B
monochromatic
#1A42AC #2658DE #5B81E6 #90AAEE #C5D3F6
Accessibility & contrast
On white
3.67
#5B81E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5B81E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81E6
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81E6 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528CEA
Deuteranopia (green-blind)
#3D80E4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5b81e6; /* rgb */ color: rgb(91, 129, 230); /* oklch */ color: oklch(62.4% 0.158 266.4);
Tailwind
colors: {
custom: {
50: '#95a5ee',
500: '#5b81e6',
950: '#000000',
},
}SCSS
$custom: #5b81e6; $custom-light: #95a5ee; $custom-dark: #000000;
JSON
{
"hex": "#5b81e6",
"rgb": {
"r": 91,
"g": 129,
"b": 230
},
"hsl": {
"h": 223.597,
"s": 73.545,
"l": 62.941
},
"oklch": {
"l": 0.62432,
"c": 0.15805,
"h": 266.4
},
"luminance": 0.23638
}Semantic roles & 50–950 ramp
primary
#5B81E6
secondary
#E7DAB5
accent
#A010D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84