#5B81FC#5B81FC
#5B81FC is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.8% C 0.188 H 267.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81FC |
|---|---|
| RGB | rgb(91, 129, 252) |
| HSL | hsl(226, 96%, 67%) |
| HSV | hsv(226, 64%, 99%) |
| CMYK | cmyk(63.9%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(57.03, 24.63, -65.42) |
| CIE-LCH | lch(57.03, 69.90, 290.63°) |
| OKLab | oklab(63.85% -0.0069 -0.1875) |
| OKLCH | oklch(63.85% 0.188 267.9) |
| XYZ | xyz(29.7293, 24.9502, 95.3257) |
| Luminance | 0.2495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.93
Lightish Blue
#3D7AFD
ΔE00 3.46
Dodger Blue
#3E82FC
ΔE00 3.61
Cornflower
#6A79F7
ΔE00 3.96
Clear Blue
#247AFD
ΔE00 5.01
Azure
#007FFF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81FC #FCD65B
analogous
#5BD1FC #5B81FC #865BFC
triadic
#5B81FC #FC5B81 #81FC5B
tetradic
#5B81FC #FC5BD1 #FCD65B #5BFC86
square
#5B81FC #FC5BD1 #FCD65B #5BFC86
split-complementary
#5B81FC #FC865B #D1FC5B
monochromatic
#0436D9 #1F53FB #5B81FC #97AFFD #D3DDFE
Accessibility & contrast
On white
3.51
#5B81FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#5B81FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81FC
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81FC | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#1182F9
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5b81fc; /* rgb */ color: rgb(91, 129, 252); /* oklch */ color: oklch(63.8% 0.188 267.9);
Tailwind
colors: {
custom: {
50: '#98a5fe',
500: '#5b81fc',
950: '#000000',
},
}SCSS
$custom: #5b81fc; $custom-light: #98a5fe; $custom-dark: #000000;
JSON
{
"hex": "#5b81fc",
"rgb": {
"r": 91,
"g": 129,
"b": 252
},
"hsl": {
"h": 225.839,
"s": 96.407,
"l": 67.255
},
"oklch": {
"l": 0.63849,
"c": 0.1876,
"h": 267.9
},
"luminance": 0.24953
}Semantic roles & 50–950 ramp
primary
#5B81FC
secondary
#F3E7C0
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86