#5782DF#5782DF

#5782DF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.149 H 263.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5782DF
RGBrgb(87, 130, 223)
HSLhsl(221, 68%, 61%)
HSVhsv(221, 61%, 87%)
CMYKcmyk(61%, 41.7%, 0%, 12.5%)
CIE-LABlab(55.40, 13.58, -51.92)
CIE-LCHlch(55.40, 53.67, 284.66°)
OKLaboklab(62% -0.0158 -0.1479)
OKLCHoklch(62% 0.149 263.9)
XYZxyz(25.2278, 23.3170, 72.9689)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782DF #DFB457
analogous
#57C6DF #5782DF #7057DF
triadic
#5782DF #DF5782 #82DF57
tetradic
#5782DF #DF57C6 #DFB457 #57DF70
square
#5782DF #DF57C6 #DFB457 #57DF70
split-complementary
#5782DF #DF7057 #C6DF57
monochromatic
#1E469E #285DD1 #5782DF #8AA8E9 #BECEF3

Accessibility & contrast

On white

3.71
#5782DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5782DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782DF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782DF#FFFFFF#000000##000000
##5782DF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5782df;
/* rgb */ color: rgb(87, 130, 223);
/* oklch */ color: oklch(62.0% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#92a5e9',
    500: '#5782df',
    950: '#000000',
  },
}
SCSS
$custom: #5782df;
$custom-light: #92a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5782df",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 221.029,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.1487,
    "h": 263.9
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#5782DF
secondary
#E3D2AF
accent
#9516D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5782DF

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

Preview Lab → · Contrast checker → · Palette generator →

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