#5792F2#5792F2
#5792F2 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.5% C 0.156 H 259.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5792F2 |
|---|---|
| RGB | rgb(87, 146, 242) |
| HSL | hsl(217, 86%, 65%) |
| HSV | hsv(217, 64%, 95%) |
| CMYK | cmyk(64%, 39.7%, 0%, 5.1%) |
| CIE-LAB | lab(60.77, 10.38, -53.92) |
| CIE-LCH | lch(60.77, 54.91, 280.89°) |
| OKLab | oklab(66.49% -0.028 -0.1535) |
| OKLCH | oklch(66.49% 0.156 259.7) |
| XYZ | xyz(30.2307, 28.9919, 87.9900) |
| Luminance | 0.2899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.64
Dark Sky Blue
#448EE4
ΔE00 3.35
Dodgerblue
#1E90FF
ΔE00 4.01
Soft Blue
#6488EA
ΔE00 4.61
Dodger Blue
#3E82FC
ΔE00 5.02
Faded Blue
#658CBB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5792F2 #F2B757
analogous
#57E0F2 #5792F2 #6A57F2
triadic
#5792F2 #F25792 #92F257
tetradic
#5792F2 #F257E0 #F2B757 #57F26A
square
#5792F2 #F257E0 #F2B757 #57F26A
split-complementary
#5792F2 #F26A57 #E0F257
monochromatic
#0F52C0 #1E6DEE #5792F2 #90B7F6 #C9DCFB
Accessibility & contrast
On white
3.09
#5792F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#5792F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5792F2
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5792F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5792F2 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5792f2; /* rgb */ color: rgb(87, 146, 242); /* oklch */ color: oklch(66.5% 0.156 259.7);
Tailwind
colors: {
custom: {
50: '#94b1f7',
500: '#5792f2',
950: '#000000',
},
}SCSS
$custom: #5792f2; $custom-light: #94b1f7; $custom-dark: #000000;
JSON
{
"hex": "#5792f2",
"rgb": {
"r": 87,
"g": 146,
"b": 242
},
"hsl": {
"h": 217.161,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.66492,
"c": 0.15605,
"h": 259.7
},
"luminance": 0.28995
}Semantic roles & 50–950 ramp
primary
#5792F2
secondary
#EDD9B8
accent
#8D03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85