#5281CE#5281CE
#5281CE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.5% C 0.129 H 259.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5281CE |
|---|---|
| RGB | rgb(82, 129, 206) |
| HSL | hsl(217, 56%, 56%) |
| HSV | hsv(217, 60%, 81%) |
| CMYK | cmyk(60.2%, 37.4%, 0%, 19.2%) |
| CIE-LAB | lab(53.97, 7.54, -44.62) |
| CIE-LCH | lch(53.97, 45.26, 279.60°) |
| OKLab | oklab(60.54% -0.0227 -0.1266) |
| OKLCH | oklch(60.54% 0.129 259.8) |
| XYZ | xyz(22.4666, 21.9486, 61.4331) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.49
Faded Blue
#658CBB
ΔE00 4.52
Dodger Blue
#3E82FC
ΔE00 4.54
Cool Blue
#4984B8
ΔE00 4.58
Dusty Blue
#5A86AD
ΔE00 4.92
Clear Blue
#247AFD
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281CE #CE9F52
analogous
#52BFCE #5281CE #6152CE
triadic
#5281CE #CE5281 #81CE52
tetradic
#5281CE #CE52BF #CE9F52 #52CE61
square
#5281CE #CE52BF #CE9F52 #52CE61
split-complementary
#5281CE #CE6152 #BFCE52
monochromatic
#254881 #3262B1 #5281CE #82A4DC #B1C6E9
Accessibility & contrast
On white
3.90
#5281CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#5281CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281CE
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281CE | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5281ce; /* rgb */ color: rgb(82, 129, 206); /* oklch */ color: oklch(60.5% 0.129 259.8);
Tailwind
colors: {
custom: {
50: '#8da5dd',
500: '#5281ce',
950: '#000000',
},
}SCSS
$custom: #5281ce; $custom-light: #8da5dd; $custom-dark: #000000;
JSON
{
"hex": "#5281ce",
"rgb": {
"r": 82,
"g": 129,
"b": 206
},
"hsl": {
"h": 217.258,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.60539,
"c": 0.12861,
"h": 259.8
},
"luminance": 0.21951
}Semantic roles & 50–950 ramp
primary
#5281CE
secondary
#D7C4A4
accent
#A649DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83