#5681CD#5681CD
#5681CD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.126 H 261.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5681CD |
|---|---|
| RGB | rgb(86, 129, 205) |
| HSL | hsl(218, 54%, 57%) |
| HSV | hsv(218, 58%, 80%) |
| CMYK | cmyk(58%, 37.1%, 0%, 19.6%) |
| CIE-LAB | lab(54.12, 8.01, -43.81) |
| CIE-LCH | lch(54.12, 44.54, 280.35°) |
| OKLab | oklab(60.69% -0.0195 -0.1241) |
| OKLCH | oklch(60.69% 0.126 261.1) |
| XYZ | xyz(22.7036, 22.0848, 60.8121) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.39
Soft Blue
#6488EA
ΔE00 4.64
Off Blue
#5684AE
ΔE00 4.68
Dodger Blue
#3E82FC
ΔE00 4.77
Cool Blue
#4984B8
ΔE00 5.02
Dusty Blue
#5A86AD
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5681CD #CDA256
analogous
#56BDCD #5681CD #6656CD
triadic
#5681CD #CD5681 #81CD56
tetradic
#5681CD #CD56BD #CDA256 #56CD66
square
#5681CD #CD56BD #CDA256 #56CD66
split-complementary
#5681CD #CD6656 #BDCD56
monochromatic
#264882 #3462B1 #5681CD #85A4DB #B4C7E9
Accessibility & contrast
On white
3.88
#5681CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5681CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5681CD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5681CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5681CD | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5681cd; /* rgb */ color: rgb(86, 129, 205); /* oklch */ color: oklch(60.7% 0.126 261.1);
Tailwind
colors: {
custom: {
50: '#8fa5dc',
500: '#5681cd',
950: '#000000',
},
}SCSS
$custom: #5681cd; $custom-light: #8fa5dc; $custom-dark: #000000;
JSON
{
"hex": "#5681cd",
"rgb": {
"r": 86,
"g": 129,
"b": 205
},
"hsl": {
"h": 218.319,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.60687,
"c": 0.12567,
"h": 261.1
},
"luminance": 0.22087
}Semantic roles & 50–950 ramp
primary
#5681CD
secondary
#D8C6A7
accent
#A84ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83