#5281DE#5281DE
#5281DE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.150 H 262.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5281DE |
|---|---|
| RGB | rgb(82, 129, 222) |
| HSL | hsl(220, 68%, 60%) |
| HSV | hsv(220, 63%, 87%) |
| CMYK | cmyk(63.1%, 41.9%, 0%, 12.9%) |
| CIE-LAB | lab(54.83, 12.95, -52.28) |
| CIE-LCH | lch(54.83, 53.86, 283.91°) |
| OKLab | oklab(61.48% -0.0194 -0.149) |
| OKLCH | oklch(61.48% 0.15 262.6) |
| XYZ | xyz(24.5101, 22.7660, 72.1957) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.15
Soft Blue
#6488EA
ΔE00 3.60
Lightish Blue
#3D7AFD
ΔE00 3.78
Clear Blue
#247AFD
ΔE00 4.01
Azure
#007FFF
ΔE00 4.43
Faded Blue
#658CBB
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281DE #DEAF52
analogous
#52C7DE #5281DE #6952DE
triadic
#5281DE #DE5281 #81DE52
tetradic
#5281DE #DE52C7 #DEAF52 #52DE69
square
#5281DE #DE52C7 #DEAF52 #52DE69
split-complementary
#5281DE #DE6952 #C7DE52
monochromatic
#1D4799 #275ECC #5281DE #85A6E8 #B9CCF2
Accessibility & contrast
On white
3.78
#5281DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#5281DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281DE
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281DE | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5281de; /* rgb */ color: rgb(82, 129, 222); /* oklch */ color: oklch(61.5% 0.150 262.6);
Tailwind
colors: {
custom: {
50: '#8fa5e9',
500: '#5281de',
950: '#000000',
},
}SCSS
$custom: #5281de; $custom-light: #8fa5e9; $custom-dark: #000000;
JSON
{
"hex": "#5281de",
"rgb": {
"r": 82,
"g": 129,
"b": 222
},
"hsl": {
"h": 219.857,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.61482,
"c": 0.15026,
"h": 262.6
},
"luminance": 0.22768
}Semantic roles & 50–950 ramp
primary
#5281DE
secondary
#E1CFAB
accent
#B03DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84