#5B81DF#5B81DF
#5B81DF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.148 H 265.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81DF |
|---|---|
| RGB | rgb(91, 129, 223) |
| HSL | hsl(223, 67%, 62%) |
| HSV | hsv(223, 59%, 87%) |
| CMYK | cmyk(59.2%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(55.33, 14.94, -52.02) |
| CIE-LCH | lch(55.33, 54.12, 286.03°) |
| OKLab | oklab(62% -0.0112 -0.1481) |
| OKLCH | oklch(62% 0.149 265.7) |
| XYZ | xyz(25.4794, 23.2502, 72.9428) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.74
Dodger Blue
#3E82FC
ΔE00 3.86
Lightish Blue
#3D7AFD
ΔE00 4.06
Clear Blue
#247AFD
ΔE00 4.89
Faded Blue
#658CBB
ΔE00 5.23
Cornflower
#6A79F7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81DF #DFB95B
analogous
#5BC3DF #5B81DF #775BDF
triadic
#5B81DF #DF5B81 #81DF5B
tetradic
#5B81DF #DF5BC3 #DFB95B #5BDF77
square
#5B81DF #DF5BC3 #DFB95B #5BDF77
split-complementary
#5B81DF #DF775B #C3DF5B
monochromatic
#1F44A0 #295AD4 #5B81DF #8EA8E9 #C1D0F3
Accessibility & contrast
On white
3.72
#5B81DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#5B81DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81DF
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81DF | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b81df; /* rgb */ color: rgb(91, 129, 223); /* oklch */ color: oklch(62.0% 0.148 265.7);
Tailwind
colors: {
custom: {
50: '#94a5e9',
500: '#5b81df',
950: '#000000',
},
}SCSS
$custom: #5b81df; $custom-light: #94a5e9; $custom-dark: #000000;
JSON
{
"hex": "#5b81df",
"rgb": {
"r": 91,
"g": 129,
"b": 223
},
"hsl": {
"h": 222.727,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.62004,
"c": 0.1485,
"h": 265.7
},
"luminance": 0.23252
}Semantic roles & 50–950 ramp
primary
#5B81DF
secondary
#E3D5B2
accent
#9A16CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84