#5782E3#5782E3

#5782E3 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.2% C 0.154 H 264.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5782E3
RGBrgb(87, 130, 227)
HSLhsl(222, 71%, 62%)
HSVhsv(222, 62%, 89%)
CMYKcmyk(61.7%, 42.7%, 0%, 11%)
CIE-LABlab(55.62, 14.92, -53.81)
CIE-LCHlch(55.62, 55.84, 285.50°)
OKLaboklab(62.25% -0.0151 -0.1534)
OKLCHoklch(62.25% 0.154 264.4)
XYZxyz(25.7734, 23.5353, 75.8427)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782E3 #E3B857
analogous
#57C8E3 #5782E3 #7257E3
triadic
#5782E3 #E35782 #82E357
tetradic
#5782E3 #E357C8 #E3B857 #57E372
square
#5782E3 #E357C8 #E3B857 #57E372
split-complementary
#5782E3 #E37257 #C8E357
monochromatic
#1B45A4 #245CD9 #5782E3 #8BA9EC #C0D0F4

Accessibility & contrast

On white

3.68
#5782E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5782E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782E3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782E3#FFFFFF#000000##000000
##5782E31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE7
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5782e3;
/* rgb */ color: rgb(87, 130, 227);
/* oklch */ color: oklch(62.2% 0.154 264.4);
Tailwind
colors: {
  custom: {
    50: '#92a5ec',
    500: '#5782e3',
    950: '#000000',
  },
}
SCSS
$custom: #5782e3;
$custom-light: #92a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5782e3",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 227
  },
  "hsl": {
    "h": 221.571,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.15413,
    "h": 264.4
  },
  "luminance": 0.23538
}

Semantic roles & 50–950 ramp

primary
#5782E3
secondary
#E5D5B1
accent
#9812D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5782E3

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

Preview Lab → · Contrast checker → · Palette generator →

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