#5793F2#5793F2
#5793F2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 66.7% C 0.155 H 259.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5793F2 |
|---|---|
| RGB | rgb(87, 147, 242) |
| HSL | hsl(217, 86%, 65%) |
| HSV | hsv(217, 64%, 95%) |
| CMYK | cmyk(64%, 39.3%, 0%, 5.1%) |
| CIE-LAB | lab(61.05, 9.79, -53.49) |
| CIE-LCH | lch(61.05, 54.37, 280.37°) |
| OKLab | oklab(66.7% -0.029 -0.1522) |
| OKLCH | oklch(66.7% 0.155 259.2) |
| XYZ | xyz(30.3855, 29.3016, 88.0416) |
| Luminance | 0.2930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.64
Dark Sky Blue
#448EE4
ΔE00 3.35
Dodgerblue
#1E90FF
ΔE00 3.89
Soft Blue
#6488EA
ΔE00 4.93
Dodger Blue
#3E82FC
ΔE00 5.32
Faded Blue
#658CBB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5793F2 #F2B657
analogous
#57E1F2 #5793F2 #6957F2
triadic
#5793F2 #F25793 #93F257
tetradic
#5793F2 #F257E1 #F2B657 #57F269
square
#5793F2 #F257E1 #F2B657 #57F269
split-complementary
#5793F2 #F26957 #E1F257
monochromatic
#0F53C0 #1E6EEE #5793F2 #90B8F6 #C9DCFB
Accessibility & contrast
On white
3.06
#5793F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#5793F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5793F2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5793F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5793F2 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#00A9B7
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5793f2; /* rgb */ color: rgb(87, 147, 242); /* oklch */ color: oklch(66.7% 0.155 259.2);
Tailwind
colors: {
custom: {
50: '#94b2f7',
500: '#5793f2',
950: '#000000',
},
}SCSS
$custom: #5793f2; $custom-light: #94b2f7; $custom-dark: #000000;
JSON
{
"hex": "#5793f2",
"rgb": {
"r": 87,
"g": 147,
"b": 242
},
"hsl": {
"h": 216.774,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.66703,
"c": 0.15497,
"h": 259.2
},
"luminance": 0.29304
}Semantic roles & 50–950 ramp
primary
#5793F2
secondary
#EDD8B8
accent
#8C03E2
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0E1017
muted
#7E7F85