#5291F5#5291F5
#5291F5 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.2% C 0.163 H 259.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5291F5 |
|---|---|
| RGB | rgb(82, 145, 245) |
| HSL | hsl(217, 89%, 64%) |
| HSV | hsv(217, 67%, 96%) |
| CMYK | cmyk(66.5%, 40.8%, 0%, 3.9%) |
| CIE-LAB | lab(60.46, 11.18, -56.09) |
| CIE-LCH | lch(60.46, 57.19, 281.27°) |
| OKLab | oklab(66.24% -0.0303 -0.16) |
| OKLCH | oklch(66.24% 0.163 259.3) |
| XYZ | xyz(30.0806, 28.6342, 90.3102) |
| Luminance | 0.2864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.16
Dark Sky Blue
#448EE4
ΔE00 3.09
Dodgerblue
#1E90FF
ΔE00 3.60
Dodger Blue
#3E82FC
ΔE00 4.72
Soft Blue
#6488EA
ΔE00 4.76
Azure
#007FFF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5291F5 #F5B652
analogous
#52E2F5 #5291F5 #6552F5
triadic
#5291F5 #F55291 #91F552
tetradic
#5291F5 #F552E2 #F5B652 #52F565
square
#5291F5 #F552E2 #F5B652 #52F565
split-complementary
#5291F5 #F56552 #E2F552
monochromatic
#0B52C1 #186CF2 #5291F5 #8CB6F8 #C6DBFC
Accessibility & contrast
On white
3.12
#5291F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#5291F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5291F5
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5291F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5291F5 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5291f5; /* rgb */ color: rgb(82, 145, 245); /* oklch */ color: oklch(66.2% 0.163 259.3);
Tailwind
colors: {
custom: {
50: '#93b0f9',
500: '#5291f5',
950: '#000000',
},
}SCSS
$custom: #5291f5; $custom-light: #93b0f9; $custom-dark: #000000;
JSON
{
"hex": "#5291f5",
"rgb": {
"r": 82,
"g": 145,
"b": 245
},
"hsl": {
"h": 216.81,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.66242,
"c": 0.16282,
"h": 259.3
},
"luminance": 0.28637
}Semantic roles & 50–950 ramp
primary
#5291F5
secondary
#EED8B5
accent
#8D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85