#5B81FA#5B81FA
#5B81FA is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.185 H 267.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81FA |
|---|---|
| RGB | rgb(91, 129, 250) |
| HSL | hsl(226, 94%, 67%) |
| HSV | hsv(226, 64%, 98%) |
| CMYK | cmyk(63.6%, 48.4%, 0%, 2%) |
| CIE-LAB | lab(56.90, 23.96, -64.52) |
| CIE-LCH | lch(56.90, 68.82, 290.38°) |
| OKLab | oklab(63.72% -0.0072 -0.1848) |
| OKLCH | oklch(63.72% 0.185 267.8) |
| XYZ | xyz(29.4141, 24.8241, 93.6654) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.79
Lightish Blue
#3D7AFD
ΔE00 3.39
Dodger Blue
#3E82FC
ΔE00 3.52
Cornflower
#6A79F7
ΔE00 3.99
Clear Blue
#247AFD
ΔE00 4.93
Azure
#007FFF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81FA #FAD45B
analogous
#5BD1FA #5B81FA #845BFA
triadic
#5B81FA #FA5B81 #81FA5B
tetradic
#5B81FA #FA5BD1 #FAD45B #5BFA84
square
#5B81FA #FA5BD1 #FAD45B #5BFA84
split-complementary
#5B81FA #FA845B #D1FA5B
monochromatic
#0638D4 #2053F8 #5B81FA #96AFFC #D2DCFE
Accessibility & contrast
On white
3.52
#5B81FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#5B81FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81FA
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81FA | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#1982F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5b81fa; /* rgb */ color: rgb(91, 129, 250); /* oklch */ color: oklch(63.7% 0.185 267.8);
Tailwind
colors: {
custom: {
50: '#98a5fd',
500: '#5b81fa',
950: '#000000',
},
}SCSS
$custom: #5b81fa; $custom-light: #98a5fd; $custom-dark: #000000;
JSON
{
"hex": "#5b81fa",
"rgb": {
"r": 91,
"g": 129,
"b": 250
},
"hsl": {
"h": 225.66,
"s": 94.083,
"l": 66.863
},
"oklch": {
"l": 0.63716,
"c": 0.18495,
"h": 267.8
},
"luminance": 0.24827
}Semantic roles & 50–950 ramp
primary
#5B81FA
secondary
#F2E6BF
accent
#AF00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86