#5D81BC#5D81BC
#5D81BC is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.2% C 0.099 H 259.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5D81BC |
|---|---|
| RGB | rgb(93, 129, 188) |
| HSL | hsl(217, 41%, 55%) |
| HSV | hsv(217, 51%, 74%) |
| CMYK | cmyk(50.5%, 31.4%, 0%, 26.3%) |
| CIE-LAB | lab(53.66, 4.10, -34.83) |
| CIE-LCH | lch(53.66, 35.07, 276.71°) |
| OKLab | oklab(60.16% -0.0173 -0.0979) |
| OKLCH | oklch(60.16% 0.099 259.9) |
| XYZ | xyz(21.4385, 21.6570, 50.6177) |
| Luminance | 0.2166 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.97
Off Blue
#5684AE
ΔE00 4.14
Dusty Blue
#5A86AD
ΔE00 4.50
Cool Blue
#4984B8
ΔE00 5.03
Steel Blue
#4682B4
ΔE00 5.48
Soft Blue
#6488EA
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D81BC #BC985D
analogous
#5DB1BC #5D81BC #685DBC
triadic
#5D81BC #BC5D81 #81BC5D
tetradic
#5D81BC #BC5DB1 #BC985D #5DBC68
square
#5D81BC #BC5DB1 #BC985D #5DBC68
split-complementary
#5D81BC #BC685D #B1BC5D
monochromatic
#2E4770 #40639B #5D81BC #88A3CE #B4C4E0
Accessibility & contrast
On white
3.94
#5D81BC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#5D81BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D81BC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D81BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D81BC | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#318E96
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5d81bc; /* rgb */ color: rgb(93, 129, 188); /* oklch */ color: oklch(60.2% 0.099 259.9);
Tailwind
colors: {
custom: {
50: '#90a5d0',
500: '#5d81bc',
950: '#000000',
},
}SCSS
$custom: #5d81bc; $custom-light: #90a5d0; $custom-dark: #000000;
JSON
{
"hex": "#5d81bc",
"rgb": {
"r": 93,
"g": 129,
"b": 188
},
"hsl": {
"h": 217.263,
"s": 41.485,
"l": 55.098
},
"oklch": {
"l": 0.60161,
"c": 0.0994,
"h": 259.9
},
"luminance": 0.21659
}Semantic roles & 50–950 ramp
primary
#5D81BC
secondary
#CEBFA6
accent
#A356D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82