#5291FA#5291FA
#5291FA is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.5% C 0.169 H 260.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5291FA |
|---|---|
| RGB | rgb(82, 145, 250) |
| HSL | hsl(218, 94%, 65%) |
| HSV | hsv(218, 67%, 98%) |
| CMYK | cmyk(67.2%, 42%, 0%, 2%) |
| CIE-LAB | lab(60.73, 12.89, -58.40) |
| CIE-LCH | lch(60.73, 59.81, 282.45°) |
| OKLab | oklab(66.54% -0.0293 -0.1668) |
| OKLCH | oklch(66.54% 0.169 260) |
| XYZ | xyz(30.8542, 28.9436, 94.3846) |
| Luminance | 0.2895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.16
Dark Sky Blue
#448EE4
ΔE00 3.58
Dodgerblue
#1E90FF
ΔE00 3.89
Dodger Blue
#3E82FC
ΔE00 4.68
Soft Blue
#6488EA
ΔE00 4.70
Azure
#007FFF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5291FA #FABB52
analogous
#52E5FA #5291FA #6752FA
triadic
#5291FA #FA5291 #91FA52
tetradic
#5291FA #FA52E5 #FABB52 #52FA67
square
#5291FA #FA52E5 #FABB52 #52FA67
split-complementary
#5291FA #FA6752 #E5FA52
monochromatic
#0650CC #176BF8 #5291FA #8DB7FC #C9DDFD
Accessibility & contrast
On white
3.09
#5291FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#5291FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5291FA
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5291FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5291FA | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#00A9B9
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5291fa; /* rgb */ color: rgb(82, 145, 250); /* oklch */ color: oklch(66.5% 0.169 260.0);
Tailwind
colors: {
custom: {
50: '#93b0fc',
500: '#5291fa',
950: '#000000',
},
}SCSS
$custom: #5291fa; $custom-light: #93b0fc; $custom-dark: #000000;
JSON
{
"hex": "#5291fa",
"rgb": {
"r": 82,
"g": 145,
"b": 250
},
"hsl": {
"h": 217.5,
"s": 94.382,
"l": 65.098
},
"oklch": {
"l": 0.66543,
"c": 0.16932,
"h": 260
},
"luminance": 0.28947
}Semantic roles & 50–950 ramp
primary
#5291FA
secondary
#F0DBB7
accent
#8F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85