#5281DC#5281DC
#5281DC is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.148 H 262.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5281DC |
|---|---|
| RGB | rgb(82, 129, 220) |
| HSL | hsl(220, 66%, 59%) |
| HSV | hsv(220, 63%, 86%) |
| CMYK | cmyk(62.7%, 41.4%, 0%, 13.7%) |
| CIE-LAB | lab(54.72, 12.27, -51.33) |
| CIE-LCH | lch(54.72, 52.78, 283.44°) |
| OKLab | oklab(61.36% -0.0197 -0.1462) |
| OKLCH | oklch(61.36% 0.148 262.3) |
| XYZ | xyz(24.2437, 22.6594, 70.7924) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.31
Soft Blue
#6488EA
ΔE00 3.75
Lightish Blue
#3D7AFD
ΔE00 3.95
Clear Blue
#247AFD
ΔE00 4.11
Azure
#007FFF
ΔE00 4.48
Faded Blue
#658CBB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281DC #DCAD52
analogous
#52C6DC #5281DC #6852DC
triadic
#5281DC #DC5281 #81DC52
tetradic
#5281DC #DC52C6 #DCAD52 #52DC68
square
#5281DC #DC52C6 #DCAD52 #52DC68
split-complementary
#5281DC #DC6852 #C6DC52
monochromatic
#1E4795 #295FC8 #5281DC #85A6E6 #B8CBF1
Accessibility & contrast
On white
3.80
#5281DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#5281DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281DC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281DC | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5281dc; /* rgb */ color: rgb(82, 129, 220); /* oklch */ color: oklch(61.4% 0.148 262.3);
Tailwind
colors: {
custom: {
50: '#8fa5e7',
500: '#5281dc',
950: '#000000',
},
}SCSS
$custom: #5281dc; $custom-light: #8fa5e7; $custom-dark: #000000;
JSON
{
"hex": "#5281dc",
"rgb": {
"r": 82,
"g": 129,
"b": 220
},
"hsl": {
"h": 219.565,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.61361,
"c": 0.14756,
"h": 262.3
},
"luminance": 0.22662
}Semantic roles & 50–950 ramp
primary
#5281DC
secondary
#E0CEAA
accent
#AF3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84