#5281FE#5281FE
#5281FE is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.193 H 265.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5281FE |
|---|---|
| RGB | rgb(82, 129, 254) |
| HSL | hsl(224, 99%, 66%) |
| HSV | hsv(224, 68%, 100%) |
| CMYK | cmyk(67.7%, 49.2%, 0%, 0.4%) |
| CIE-LAB | lab(56.73, 23.94, -67.02) |
| CIE-LCH | lch(56.73, 71.17, 289.65°) |
| OKLab | oklab(63.55% -0.0146 -0.1924) |
| OKLCH | oklch(63.55% 0.193 265.7) |
| XYZ | xyz(29.2131, 24.6472, 96.9645) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.51
Lightish Blue
#3D7AFD
ΔE00 2.73
Soft Blue
#6488EA
ΔE00 3.17
Clear Blue
#247AFD
ΔE00 4.06
Cornflower
#6A79F7
ΔE00 4.90
Azure
#007FFF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5281FE #FECF52
analogous
#52D7FE #5281FE #7952FE
triadic
#5281FE #FE5281 #81FE52
tetradic
#5281FE #FE52D7 #FECF52 #52FE79
square
#5281FE #FE52D7 #FECF52 #52FE79
split-complementary
#5281FE #FE7952 #D7FE52
monochromatic
#013BD4 #1555FE #5281FE #8FADFE #CCDAFF
Accessibility & contrast
On white
3.54
#5281FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#5281FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5281FE
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5281FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5281FE | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5281fe; /* rgb */ color: rgb(82, 129, 254); /* oklch */ color: oklch(63.5% 0.193 265.7);
Tailwind
colors: {
custom: {
50: '#95a5ff',
500: '#5281fe',
950: '#000000',
},
}SCSS
$custom: #5281fe; $custom-light: #95a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5281fe",
"rgb": {
"r": 82,
"g": 129,
"b": 254
},
"hsl": {
"h": 223.605,
"s": 98.851,
"l": 65.882
},
"oklch": {
"l": 0.63549,
"c": 0.19291,
"h": 265.7
},
"luminance": 0.2465
}Semantic roles & 50–950 ramp
primary
#5281FE
secondary
#F2E3B9
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86