#5B81F5#5B81F5
#5B81F5 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.178 H 267.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81F5 |
|---|---|
| RGB | rgb(91, 129, 245) |
| HSL | hsl(225, 89%, 66%) |
| HSV | hsv(225, 63%, 96%) |
| CMYK | cmyk(62.9%, 47.3%, 0%, 3.9%) |
| CIE-LAB | lab(56.60, 22.28, -62.24) |
| CIE-LCH | lch(56.60, 66.11, 289.70°) |
| OKLab | oklab(63.39% -0.0078 -0.1781) |
| OKLCH | oklch(63.39% 0.178 267.5) |
| XYZ | xyz(28.6404, 24.5147, 89.5910) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.50
Lightish Blue
#3D7AFD
ΔE00 3.30
Dodger Blue
#3E82FC
ΔE00 3.38
Cornflower
#6A79F7
ΔE00 4.14
Clear Blue
#247AFD
ΔE00 4.77
Azure
#007FFF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81F5 #F5CF5B
analogous
#5BCEF5 #5B81F5 #825BF5
triadic
#5B81F5 #F55B81 #81F55B
tetradic
#5B81F5 #F55BCE #F5CF5B #5BF582
square
#5B81F5 #F55BCE #F5CF5B #5BF582
split-complementary
#5B81F5 #F5825B #CEF55B
monochromatic
#0C3BC9 #2155F1 #5B81F5 #95ADF9 #CEDAFC
Accessibility & contrast
On white
3.56
#5B81F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#5B81F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81F5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81F5 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#2681F3
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5b81f5; /* rgb */ color: rgb(91, 129, 245); /* oklch */ color: oklch(63.4% 0.178 267.5);
Tailwind
colors: {
custom: {
50: '#97a5f9',
500: '#5b81f5',
950: '#000000',
},
}SCSS
$custom: #5b81f5; $custom-light: #97a5f9; $custom-dark: #000000;
JSON
{
"hex": "#5b81f5",
"rgb": {
"r": 91,
"g": 129,
"b": 245
},
"hsl": {
"h": 225.195,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.63387,
"c": 0.17829,
"h": 267.5
},
"luminance": 0.24517
}Semantic roles & 50–950 ramp
primary
#5B81F5
secondary
#EFE3BC
accent
#AD00E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85