#5782EA#5782EA

#5782EA is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.7% C 0.164 H 265.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5782EA
RGBrgb(87, 130, 234)
HSLhsl(222, 78%, 63%)
HSVhsv(222, 63%, 92%)
CMYKcmyk(62.8%, 44.4%, 0%, 8.2%)
CIE-LABlab(56.02, 17.29, -57.08)
CIE-LCHlch(56.02, 59.64, 286.85°)
OKLaboklab(62.68% -0.0139 -0.163)
OKLCHoklch(62.68% 0.164 265.1)
XYZxyz(26.7593, 23.9296, 81.0346)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782EA #EABF57
analogous
#57CBEA #5782EA #7557EA
triadic
#5782EA #EA5782 #82EA57
tetradic
#5782EA #EA57CB #EABF57 #57EA75
square
#5782EA #EA57CB #EABF57 #57EA75
split-complementary
#5782EA #EA7557 #CBEA57
monochromatic
#1643B1 #215AE3 #5782EA #8DAAF1 #C4D3F8

Accessibility & contrast

On white

3.63
#5782EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5782EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782EA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782EA#FFFFFF#000000##000000
##5782EA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5782ea;
/* rgb */ color: rgb(87, 130, 234);
/* oklch */ color: oklch(62.7% 0.164 265.1);
Tailwind
colors: {
  custom: {
    50: '#93a5f1',
    500: '#5782ea',
    950: '#000000',
  },
}
SCSS
$custom: #5782ea;
$custom-light: #93a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5782ea",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 222.449,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.16359,
    "h": 265.1
  },
  "luminance": 0.23932
}

Semantic roles & 50–950 ramp

primary
#5782EA
secondary
#E9D9B4
accent
#9E0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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