#5281DD#5281DD
#5281DD is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.149 H 262.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5281DD |
|---|---|
| RGB | rgb(82, 129, 221) |
| HSL | hsl(220, 67%, 59%) |
| HSV | hsv(220, 63%, 87%) |
| CMYK | cmyk(62.9%, 41.6%, 0%, 13.3%) |
| CIE-LAB | lab(54.78, 12.61, -51.81) |
| CIE-LCH | lch(54.78, 53.32, 283.68°) |
| OKLab | oklab(61.42% -0.0195 -0.1476) |
| OKLCH | oklch(61.42% 0.149 262.5) |
| XYZ | xyz(24.3765, 22.7126, 71.4919) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.23
Soft Blue
#6488EA
ΔE00 3.67
Lightish Blue
#3D7AFD
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 4.06
Azure
#007FFF
ΔE00 4.45
Faded Blue
#658CBB
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281DD #DDAE52
analogous
#52C7DD #5281DD #6952DD
triadic
#5281DD #DD5281 #81DD52
tetradic
#5281DD #DD52C7 #DDAE52 #52DD69
square
#5281DD #DD52C7 #DDAE52 #52DD69
split-complementary
#5281DD #DD6952 #C7DD52
monochromatic
#1E4797 #285FCA #5281DD #85A6E7 #B8CCF1
Accessibility & contrast
On white
3.79
#5281DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#5281DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281DD
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281DD | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5281dd; /* rgb */ color: rgb(82, 129, 221); /* oklch */ color: oklch(61.4% 0.149 262.5);
Tailwind
colors: {
custom: {
50: '#8fa5e8',
500: '#5281dd',
950: '#000000',
},
}SCSS
$custom: #5281dd; $custom-light: #8fa5e8; $custom-dark: #000000;
JSON
{
"hex": "#5281dd",
"rgb": {
"r": 82,
"g": 129,
"b": 221
},
"hsl": {
"h": 219.712,
"s": 67.15,
"l": 59.412
},
"oklch": {
"l": 0.61421,
"c": 0.14891,
"h": 262.5
},
"luminance": 0.22715
}Semantic roles & 50–950 ramp
primary
#5281DD
secondary
#E0CEAA
accent
#B03EEA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84