#5B81DD#5B81DD
#5B81DD is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.146 H 265.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5B81DD |
|---|---|
| RGB | rgb(91, 129, 221) |
| HSL | hsl(222, 66%, 61%) |
| HSV | hsv(222, 59%, 87%) |
| CMYK | cmyk(58.8%, 41.6%, 0%, 13.3%) |
| CIE-LAB | lab(55.22, 14.28, -51.07) |
| CIE-LCH | lch(55.22, 53.03, 285.62°) |
| OKLab | oklab(61.88% -0.0115 -0.1453) |
| OKLCH | oklch(61.88% 0.146 265.5) |
| XYZ | xyz(25.2113, 23.1430, 71.5311) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.88
Dodger Blue
#3E82FC
ΔE00 3.98
Lightish Blue
#3D7AFD
ΔE00 4.20
Clear Blue
#247AFD
ΔE00 4.96
Faded Blue
#658CBB
ΔE00 5.12
Azure
#007FFF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B81DD #DDB75B
analogous
#5BC2DD #5B81DD #765BDD
triadic
#5B81DD #DD5B81 #81DD5B
tetradic
#5B81DD #DD5BC2 #DDB75B #5BDD76
square
#5B81DD #DD5BC2 #DDB75B #5BDD76
split-complementary
#5B81DD #DD765B #C2DD5B
monochromatic
#21459D #2B5BD0 #5B81DD #8EA8E8 #C0CFF2
Accessibility & contrast
On white
3.73
#5B81DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5B81DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B81DD
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B81DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B81DD | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b81dd; /* rgb */ color: rgb(91, 129, 221); /* oklch */ color: oklch(61.9% 0.146 265.5);
Tailwind
colors: {
custom: {
50: '#93a5e8',
500: '#5b81dd',
950: '#000000',
},
}SCSS
$custom: #5b81dd; $custom-light: #93a5e8; $custom-dark: #000000;
JSON
{
"hex": "#5b81dd",
"rgb": {
"r": 91,
"g": 129,
"b": 221
},
"hsl": {
"h": 222.462,
"s": 65.657,
"l": 61.176
},
"oklch": {
"l": 0.61884,
"c": 0.14577,
"h": 265.5
},
"luminance": 0.23145
}Semantic roles & 50–950 ramp
primary
#5B81DD
secondary
#E2D4B1
accent
#9818CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84