#5291F3#5291F3
#5291F3 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.160 H 259.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5291F3 |
|---|---|
| RGB | rgb(82, 145, 243) |
| HSL | hsl(217, 87%, 64%) |
| HSV | hsv(217, 66%, 95%) |
| CMYK | cmyk(66.3%, 40.3%, 0%, 4.7%) |
| CIE-LAB | lab(60.35, 10.50, -55.16) |
| CIE-LCH | lch(60.35, 56.15, 280.77°) |
| OKLab | oklab(66.12% -0.0307 -0.1572) |
| OKLCH | oklch(66.12% 0.16 259) |
| XYZ | xyz(29.7769, 28.5127, 88.7109) |
| Luminance | 0.2852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.21
Dark Sky Blue
#448EE4
ΔE00 2.90
Dodgerblue
#1E90FF
ΔE00 3.50
Dodger Blue
#3E82FC
ΔE00 4.75
Soft Blue
#6488EA
ΔE00 4.81
Faded Blue
#658CBB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5291F3 #F3B452
analogous
#52E1F3 #5291F3 #6352F3
triadic
#5291F3 #F35291 #91F352
tetradic
#5291F3 #F352E1 #F3B452 #52F363
square
#5291F3 #F352E1 #F3B452 #52F363
split-complementary
#5291F3 #F36352 #E1F352
monochromatic
#0D52BD #196DEF #5291F3 #8BB5F7 #C4DAFB
Accessibility & contrast
On white
3.13
#5291F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#5291F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5291F3
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5291F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5291F3 | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5291f3; /* rgb */ color: rgb(82, 145, 243); /* oklch */ color: oklch(66.1% 0.160 259.0);
Tailwind
colors: {
custom: {
50: '#92b0f7',
500: '#5291f3',
950: '#000000',
},
}SCSS
$custom: #5291f3; $custom-light: #92b0f7; $custom-dark: #000000;
JSON
{
"hex": "#5291f3",
"rgb": {
"r": 82,
"g": 145,
"b": 243
},
"hsl": {
"h": 216.522,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.66123,
"c": 0.16022,
"h": 259
},
"luminance": 0.28516
}Semantic roles & 50–950 ramp
primary
#5291F3
secondary
#EDD7B4
accent
#8B02E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85