#5782EC#5782EC

#5782EC is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.166 H 265.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5782EC
RGBrgb(87, 130, 236)
HSLhsl(223, 80%, 63%)
HSVhsv(223, 63%, 93%)
CMYKcmyk(63.1%, 44.9%, 0%, 7.5%)
CIE-LABlab(56.13, 17.96, -58.01)
CIE-LCHlch(56.13, 60.72, 287.20°)
OKLaboklab(62.81% -0.0136 -0.1657)
OKLCHoklch(62.81% 0.166 265.3)
XYZxyz(27.0482, 24.0452, 82.5564)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782EC #ECC157
analogous
#57CCEC #5782EC #7657EC
triadic
#5782EC #EC5782 #82EC57
tetradic
#5782EC #EC57CC #ECC157 #57EC76
square
#5782EC #EC57CC #ECC157 #57EC76
split-complementary
#5782EC #EC7657 #CCEC57
monochromatic
#1443B4 #2059E6 #5782EC #8EABF2 #C5D4F8

Accessibility & contrast

On white

3.61
#5782EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5782EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782EC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782EC#FFFFFF#000000##000000
##5782EC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#3580EA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5782ec;
/* rgb */ color: rgb(87, 130, 236);
/* oklch */ color: oklch(62.8% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#94a5f3',
    500: '#5782ec',
    950: '#000000',
  },
}
SCSS
$custom: #5782ec;
$custom-light: #94a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5782ec",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 222.685,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62805,
    "c": 0.16629,
    "h": 265.3
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#5782EC
secondary
#EADBB5
accent
#9F0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5782EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5782EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva