#5796FA#5796FA
#5796FA is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.8% C 0.162 H 259.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5796FA |
|---|---|
| RGB | rgb(87, 150, 250) |
| HSL | hsl(217, 94%, 66%) |
| HSV | hsv(217, 65%, 98%) |
| CMYK | cmyk(65.2%, 40%, 0%, 2%) |
| CIE-LAB | lab(62.29, 10.71, -55.91) |
| CIE-LCH | lch(62.29, 56.93, 280.84°) |
| OKLab | oklab(67.8% -0.0302 -0.1593) |
| OKLCH | oklch(67.8% 0.162 259.3) |
| XYZ | xyz(32.0860, 30.7379, 94.6660) |
| Luminance | 0.3074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.94
Dodgerblue
#1E90FF
ΔE00 4.11
Dark Sky Blue
#448EE4
ΔE00 4.16
Soft Blue
#6488EA
ΔE00 5.78
Dodger Blue
#3E82FC
ΔE00 6.18
Faded Blue
#658CBB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5796FA #FABB57
analogous
#57E7FA #5796FA #6957FA
triadic
#5796FA #FA5796 #96FA57
tetradic
#5796FA #FA57E7 #FABB57 #57FA69
square
#5796FA #FA57E7 #FABB57 #57FA69
split-complementary
#5796FA #FA6957 #E7FA57
monochromatic
#0654D0 #1C71F8 #5796FA #92BBFC #CEE0FE
Accessibility & contrast
On white
2.94
#5796FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#5796FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5796FA
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5796FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5796FA | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5796fa; /* rgb */ color: rgb(87, 150, 250); /* oklch */ color: oklch(67.8% 0.162 259.3);
Tailwind
colors: {
custom: {
50: '#95b4fc',
500: '#5796fa',
950: '#000000',
},
}SCSS
$custom: #5796fa; $custom-light: #95b4fc; $custom-dark: #000000;
JSON
{
"hex": "#5796fa",
"rgb": {
"r": 87,
"g": 150,
"b": 250
},
"hsl": {
"h": 216.81,
"s": 94.22,
"l": 66.078
},
"oklch": {
"l": 0.67801,
"c": 0.16214,
"h": 259.3
},
"luminance": 0.30741
}Semantic roles & 50–950 ramp
primary
#5796FA
secondary
#F1DCBC
accent
#8D00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085