#5281CB#5281CB
#5281CB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.125 H 259.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5281CB |
|---|---|
| RGB | rgb(82, 129, 203) |
| HSL | hsl(217, 54%, 56%) |
| HSV | hsv(217, 60%, 80%) |
| CMYK | cmyk(59.6%, 36.5%, 0%, 20.4%) |
| CIE-LAB | lab(53.82, 6.54, -43.16) |
| CIE-LCH | lch(53.82, 43.66, 278.62°) |
| OKLab | oklab(60.37% -0.0235 -0.1223) |
| OKLCH | oklch(60.37% 0.125 259.1) |
| XYZ | xyz(22.1056, 21.8042, 59.5320) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.25
Cool Blue
#4984B8
ΔE00 4.32
Faded Blue
#658CBB
ΔE00 4.45
Dusty Blue
#5A86AD
ΔE00 4.72
Dodger Blue
#3E82FC
ΔE00 4.81
Steel Blue
#4682B4
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281CB #CB9C52
analogous
#52BECB #5281CB #5F52CB
triadic
#5281CB #CB5281 #81CB52
tetradic
#5281CB #CB52BE #CB9C52 #52CB5F
square
#5281CB #CB52BE #CB9C52 #52CB5F
split-complementary
#5281CB #CB5F52 #BECB52
monochromatic
#26487D #3462AC #5281CB #81A3D9 #B0C6E7
Accessibility & contrast
On white
3.92
#5281CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5281CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281CB
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281CB | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5281cb; /* rgb */ color: rgb(82, 129, 203); /* oklch */ color: oklch(60.4% 0.125 259.1);
Tailwind
colors: {
custom: {
50: '#8ca5db',
500: '#5281cb',
950: '#000000',
},
}SCSS
$custom: #5281cb; $custom-light: #8ca5db; $custom-dark: #000000;
JSON
{
"hex": "#5281cb",
"rgb": {
"r": 82,
"g": 129,
"b": 203
},
"hsl": {
"h": 216.694,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.60369,
"c": 0.12455,
"h": 259.1
},
"luminance": 0.21806
}Semantic roles & 50–950 ramp
primary
#5281CB
secondary
#D5C2A3
accent
#A44BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83