#5B81EF#5B81EF
#5B81EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.170 H 267.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81EF |
|---|---|
| RGB | rgb(91, 129, 239) |
| HSL | hsl(225, 82%, 65%) |
| HSV | hsv(225, 62%, 94%) |
| CMYK | cmyk(61.9%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(56.24, 20.27, -59.49) |
| CIE-LCH | lch(56.24, 62.85, 288.82°) |
| OKLab | oklab(63% -0.0086 -0.17) |
| OKLCH | oklch(63% 0.17 267.1) |
| XYZ | xyz(27.7393, 24.1542, 84.8450) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.30
Lightish Blue
#3D7AFD
ΔE00 3.33
Dodger Blue
#3E82FC
ΔE00 3.34
Cornflower
#6A79F7
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 4.66
Azure
#007FFF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81EF #EFC95B
analogous
#5BCBEF #5B81EF #7F5BEF
triadic
#5B81EF #EF5B81 #81EF5B
tetradic
#5B81EF #EF5BCB #EFC95B #5BEF7F
square
#5B81EF #EF5BCB #EFC95B #5BEF7F
split-complementary
#5B81EF #EF7F5B #CBEF5B
monochromatic
#123EBD #2356EA #5B81EF #93ACF4 #CBD7FA
Accessibility & contrast
On white
3.60
#5B81EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#5B81EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81EF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81EF | 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)
#4B8EF3
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b81ef; /* rgb */ color: rgb(91, 129, 239); /* oklch */ color: oklch(63.0% 0.170 267.1);
Tailwind
colors: {
custom: {
50: '#96a5f5',
500: '#5b81ef',
950: '#000000',
},
}SCSS
$custom: #5b81ef; $custom-light: #96a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5b81ef",
"rgb": {
"r": 91,
"g": 129,
"b": 239
},
"hsl": {
"h": 224.595,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.62999,
"c": 0.17024,
"h": 267.1
},
"luminance": 0.24157
}Semantic roles & 50–950 ramp
primary
#5B81EF
secondary
#ECDFBA
accent
#A707DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85