#5782D9#5782D9

#5782D9 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.6% C 0.141 H 263.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5782D9
RGBrgb(87, 130, 217)
HSLhsl(220, 63%, 60%)
HSVhsv(220, 60%, 85%)
CMYKcmyk(59.9%, 40.1%, 0%, 14.9%)
CIE-LABlab(55.07, 11.58, -49.07)
CIE-LCHlch(55.07, 50.42, 283.27°)
OKLaboklab(61.65% -0.017 -0.1395)
OKLCHoklch(61.65% 0.141 263.1)
XYZxyz(24.4332, 22.9991, 68.7839)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782D9 #D9AE57
analogous
#57C3D9 #5782D9 #6D57D9
triadic
#5782D9 #D95782 #82D957
tetradic
#5782D9 #D957C3 #D9AE57 #57D96D
square
#5782D9 #D957C3 #D9AE57 #57D96D
split-complementary
#5782D9 #D96D57 #C3D957
monochromatic
#214794 #2D5FC6 #5782D9 #89A7E4 #BBCCF0

Accessibility & contrast

On white

3.75
#5782D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5782D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782D9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782D9#FFFFFF#000000##000000
##5782D91.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8ADC
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5782d9;
/* rgb */ color: rgb(87, 130, 217);
/* oklch */ color: oklch(61.6% 0.141 263.1);
Tailwind
colors: {
  custom: {
    50: '#91a5e5',
    500: '#5782d9',
    950: '#000000',
  },
}
SCSS
$custom: #5782d9;
$custom-light: #91a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5782d9",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 217
  },
  "hsl": {
    "h": 220.154,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.14053,
    "h": 263.1
  },
  "luminance": 0.23001
}

Semantic roles & 50–950 ramp

primary
#5782D9
secondary
#DFCEAD
accent
#B042E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5782D9

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

Preview Lab → · Contrast checker → · Palette generator →

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