#5782F2#5782F2
#5782F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.174 H 265.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5782F2 |
|---|---|
| RGB | rgb(87, 130, 242) |
| HSL | hsl(223, 86%, 65%) |
| HSV | hsv(223, 64%, 95%) |
| CMYK | cmyk(64%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(56.49, 19.99, -60.77) |
| CIE-LCH | lch(56.49, 63.98, 288.21°) |
| OKLab | oklab(63.19% -0.0127 -0.1739) |
| OKLCH | oklch(63.19% 0.174 265.8) |
| XYZ | xyz(27.9346, 24.3997, 87.2247) |
| Luminance | 0.2440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.28
Dodger Blue
#3E82FC
ΔE00 2.62
Lightish Blue
#3D7AFD
ΔE00 3.11
Clear Blue
#247AFD
ΔE00 4.27
Cornflower
#6A79F7
ΔE00 5.04
Azure
#007FFF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782F2 #F2C757
analogous
#57CFF2 #5782F2 #7A57F2
triadic
#5782F2 #F25782 #82F257
tetradic
#5782F2 #F257CF #F2C757 #57F27A
square
#5782F2 #F257CF #F2C757 #57F27A
split-complementary
#5782F2 #F27A57 #CFF257
monochromatic
#0F40C0 #1E58EE #5782F2 #90ACF6 #C9D7FB
Accessibility & contrast
On white
3.57
#5782F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#5782F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782F2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782F2 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#2C81F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5782f2; /* rgb */ color: rgb(87, 130, 242); /* oklch */ color: oklch(63.2% 0.174 265.8);
Tailwind
colors: {
custom: {
50: '#95a5f7',
500: '#5782f2',
950: '#000000',
},
}SCSS
$custom: #5782f2; $custom-light: #95a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5782f2",
"rgb": {
"r": 87,
"g": 130,
"b": 242
},
"hsl": {
"h": 223.355,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.63189,
"c": 0.17432,
"h": 265.8
},
"luminance": 0.24402
}Semantic roles & 50–950 ramp
primary
#5782F2
secondary
#EDDEB8
accent
#A403E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85