#5281CF#5281CF
#5281CF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.130 H 260.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5281CF |
|---|---|
| RGB | rgb(82, 129, 207) |
| HSL | hsl(217, 57%, 57%) |
| HSV | hsv(217, 60%, 81%) |
| CMYK | cmyk(60.4%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(54.02, 7.88, -45.11) |
| CIE-LCH | lch(54.02, 45.79, 279.91°) |
| OKLab | oklab(60.6% -0.0225 -0.128) |
| OKLCH | oklch(60.6% 0.13 260) |
| XYZ | xyz(22.5885, 21.9974, 62.0749) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 4.45
Faded Blue
#658CBB
ΔE00 4.55
Off Blue
#5684AE
ΔE00 4.57
Cool Blue
#4984B8
ΔE00 4.66
Soft Blue
#6488EA
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281CF #CFA052
analogous
#52C0CF #5281CF #6252CF
triadic
#5281CF #CF5281 #81CF52
tetradic
#5281CF #CF52C0 #CFA052 #52CF62
square
#5281CF #CF52C0 #CFA052 #52CF62
split-complementary
#5281CF #CF6252 #C0CF52
monochromatic
#244882 #3162B2 #5281CF #82A4DC #B2C7EA
Accessibility & contrast
On white
3.89
#5281CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5281CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281CF
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281CF | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6087D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5281cf; /* rgb */ color: rgb(82, 129, 207); /* oklch */ color: oklch(60.6% 0.130 260.0);
Tailwind
colors: {
custom: {
50: '#8da5de',
500: '#5281cf',
950: '#000000',
},
}SCSS
$custom: #5281cf; $custom-light: #8da5de; $custom-dark: #000000;
JSON
{
"hex": "#5281cf",
"rgb": {
"r": 82,
"g": 129,
"b": 207
},
"hsl": {
"h": 217.44,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.60596,
"c": 0.12996,
"h": 260
},
"luminance": 0.21999
}Semantic roles & 50–950 ramp
primary
#5281CF
secondary
#D8C5A5
accent
#A748E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83