#5282DB#5282DB
#5282DB is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.145 H 261.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5282DB |
|---|---|
| RGB | rgb(82, 130, 219) |
| HSL | hsl(219, 66%, 59%) |
| HSV | hsv(219, 63%, 86%) |
| CMYK | cmyk(62.6%, 40.6%, 0%, 14.1%) |
| CIE-LAB | lab(54.94, 11.32, -50.42) |
| CIE-LCH | lch(54.94, 51.68, 282.66°) |
| OKLab | oklab(61.51% -0.0209 -0.1435) |
| OKLCH | oklch(61.51% 0.145 261.7) |
| XYZ | xyz(24.2440, 22.8714, 70.1411) |
| Luminance | 0.2287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.30
Soft Blue
#6488EA
ΔE00 3.74
Lightish Blue
#3D7AFD
ΔE00 4.20
Clear Blue
#247AFD
ΔE00 4.26
Azure
#007FFF
ΔE00 4.42
Faded Blue
#658CBB
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5282DB #DBAB52
analogous
#52C7DB #5282DB #6752DB
triadic
#5282DB #DB5282 #82DB52
tetradic
#5282DB #DB52C7 #DBAB52 #52DB67
square
#5282DB #DB52C7 #DBAB52 #52DB67
split-complementary
#5282DB #DB6752 #C7DB52
monochromatic
#1F4894 #2960C6 #5282DB #85A7E6 #B7CBF0
Accessibility & contrast
On white
3.77
#5282DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#5282DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5282DB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5282DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5282DB | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5282db; /* rgb */ color: rgb(82, 130, 219); /* oklch */ color: oklch(61.5% 0.145 261.7);
Tailwind
colors: {
custom: {
50: '#8fa5e6',
500: '#5282db',
950: '#000000',
},
}SCSS
$custom: #5282db; $custom-light: #8fa5e6; $custom-dark: #000000;
JSON
{
"hex": "#5282db",
"rgb": {
"r": 82,
"g": 130,
"b": 219
},
"hsl": {
"h": 218.978,
"s": 65.55,
"l": 59.02
},
"oklch": {
"l": 0.61513,
"c": 0.14507,
"h": 261.7
},
"luminance": 0.22874
}Semantic roles & 50–950 ramp
primary
#5282DB
secondary
#DFCCAA
accent
#AD3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84