#5B81F1#5B81F1
#5B81F1 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.173 H 267.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81F1 |
|---|---|
| RGB | rgb(91, 129, 241) |
| HSL | hsl(225, 84%, 65%) |
| HSV | hsv(225, 62%, 95%) |
| CMYK | cmyk(62.2%, 46.5%, 0%, 5.5%) |
| CIE-LAB | lab(56.36, 20.94, -60.41) |
| CIE-LCH | lch(56.36, 63.93, 289.12°) |
| OKLab | oklab(63.13% -0.0083 -0.1727) |
| OKLCH | oklch(63.13% 0.173 267.2) |
| XYZ | xyz(28.0364, 24.2730, 86.4097) |
| Luminance | 0.2428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.35
Lightish Blue
#3D7AFD
ΔE00 3.31
Dodger Blue
#3E82FC
ΔE00 3.33
Cornflower
#6A79F7
ΔE00 4.32
Clear Blue
#247AFD
ΔE00 4.69
Azure
#007FFF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81F1 #F1CB5B
analogous
#5BCCF1 #5B81F1 #805BF1
triadic
#5B81F1 #F15B81 #81F15B
tetradic
#5B81F1 #F15BCC #F1CB5B #5BF180
square
#5B81F1 #F15BCC #F1CB5B #5BF180
split-complementary
#5B81F1 #F1805B #CCF15B
monochromatic
#103DC1 #2356EC #5B81F1 #93ACF6 #CCD8FB
Accessibility & contrast
On white
3.59
#5B81F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5B81F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81F1
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81F1 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498EF5
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b81f1; /* rgb */ color: rgb(91, 129, 241); /* oklch */ color: oklch(63.1% 0.173 267.2);
Tailwind
colors: {
custom: {
50: '#96a5f6',
500: '#5b81f1',
950: '#000000',
},
}SCSS
$custom: #5b81f1; $custom-light: #96a5f6; $custom-dark: #000000;
JSON
{
"hex": "#5b81f1",
"rgb": {
"r": 91,
"g": 129,
"b": 241
},
"hsl": {
"h": 224.8,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.63127,
"c": 0.17293,
"h": 267.2
},
"luminance": 0.24276
}Semantic roles & 50–950 ramp
primary
#5B81F1
secondary
#EDE0BA
accent
#A905E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85