#5281E6#5281E6
#5281E6 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.161 H 263.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5281E6 |
|---|---|
| RGB | rgb(82, 129, 230) |
| HSL | hsl(221, 75%, 61%) |
| HSV | hsv(221, 64%, 90%) |
| CMYK | cmyk(64.3%, 43.9%, 0%, 9.8%) |
| CIE-LAB | lab(55.28, 15.68, -56.03) |
| CIE-LCH | lch(55.28, 58.19, 285.63°) |
| OKLab | oklab(61.98% -0.0179 -0.16) |
| OKLCH | oklch(61.98% 0.161 263.6) |
| XYZ | xyz(25.6079, 23.2051, 77.9771) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.56
Soft Blue
#6488EA
ΔE00 3.10
Lightish Blue
#3D7AFD
ΔE00 3.18
Clear Blue
#247AFD
ΔE00 3.71
Azure
#007FFF
ΔE00 4.32
Deep Sky Blue
#0D75F8
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281E6 #E6B752
analogous
#52CBE6 #5281E6 #6D52E6
triadic
#5281E6 #E65281 #81E652
tetradic
#5281E6 #E652CB #E6B752 #52E66D
square
#5281E6 #E652CB #E6B752 #52E66D
split-complementary
#5281E6 #E66D52 #CBE652
monochromatic
#1845A6 #205BDB #5281E6 #87A8EE #BDCFF5
Accessibility & contrast
On white
3.72
#5281E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5281E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281E6
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281E6 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5281e6; /* rgb */ color: rgb(82, 129, 230); /* oklch */ color: oklch(62.0% 0.161 263.6);
Tailwind
colors: {
custom: {
50: '#90a5ee',
500: '#5281e6',
950: '#000000',
},
}SCSS
$custom: #5281e6; $custom-light: #90a5ee; $custom-dark: #000000;
JSON
{
"hex": "#5281e6",
"rgb": {
"r": 82,
"g": 129,
"b": 230
},
"hsl": {
"h": 220.946,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.61977,
"c": 0.16104,
"h": 263.6
},
"luminance": 0.23208
}Semantic roles & 50–950 ramp
primary
#5281E6
secondary
#E6D4AE
accent
#970FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84