#5291EA#5291EA
#5291EA is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.6% C 0.149 H 257.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5291EA |
|---|---|
| RGB | rgb(82, 145, 234) |
| HSL | hsl(215, 78%, 62%) |
| HSV | hsv(215, 65%, 92%) |
| CMYK | cmyk(65%, 38%, 0%, 8.2%) |
| CIE-LAB | lab(59.87, 7.43, -50.95) |
| CIE-LCH | lch(59.87, 51.48, 278.30°) |
| OKLab | oklab(65.6% -0.0326 -0.1449) |
| OKLCH | oklch(65.6% 0.149 257.3) |
| XYZ | xyz(28.4510, 27.9824, 81.7277) |
| Luminance | 0.2798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.08
Cornflowerblue
#6495ED
ΔE00 2.63
Dodgerblue
#1E90FF
ΔE00 3.18
Dodger Blue
#3E82FC
ΔE00 5.01
Soft Blue
#6488EA
ΔE00 5.14
Faded Blue
#658CBB
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5291EA #EAAB52
analogous
#52DDEA #5291EA #5F52EA
triadic
#5291EA #EA5291 #91EA52
tetradic
#5291EA #EA52DD #EAAB52 #52EA5F
square
#5291EA #EA52DD #EAAB52 #52EA5F
split-complementary
#5291EA #EA5F52 #DDEA52
monochromatic
#1554AD #1C6EE3 #5291EA #89B4F1 #BFD6F7
Accessibility & contrast
On white
3.18
#5291EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#5291EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5291EA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5291EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5291EA | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5291ea; /* rgb */ color: rgb(82, 145, 234); /* oklch */ color: oklch(65.6% 0.149 257.3);
Tailwind
colors: {
custom: {
50: '#91b0f1',
500: '#5291ea',
950: '#000000',
},
}SCSS
$custom: #5291ea; $custom-light: #91b0f1; $custom-dark: #000000;
JSON
{
"hex": "#5291ea",
"rgb": {
"r": 82,
"g": 145,
"b": 234
},
"hsl": {
"h": 215.132,
"s": 78.351,
"l": 61.961
},
"oklch": {
"l": 0.65598,
"c": 0.14852,
"h": 257.3
},
"luminance": 0.27985
}Semantic roles & 50–950 ramp
primary
#5291EA
secondary
#E8D1B0
accent
#850BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85