#5782DD#5782DD

#5782DD is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.9% C 0.146 H 263.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5782DD
RGBrgb(87, 130, 221)
HSLhsl(221, 66%, 60%)
HSVhsv(221, 61%, 87%)
CMYKcmyk(60.6%, 41.2%, 0%, 13.3%)
CIE-LABlab(55.29, 12.91, -50.97)
CIE-LCHlch(55.29, 52.58, 284.21°)
OKLaboklab(61.88% -0.0162 -0.1451)
OKLCHoklch(61.88% 0.146 263.6)
XYZxyz(24.9597, 23.2098, 71.5572)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782DD #DDB257
analogous
#57C5DD #5782DD #6F57DD
triadic
#5782DD #DD5782 #82DD57
tetradic
#5782DD #DD57C5 #DDB257 #57DD6F
square
#5782DD #DD57C5 #DDB257 #57DD6F
split-complementary
#5782DD #DD6F57 #C5DD57
monochromatic
#1F479A #2A5ECD #5782DD #8AA8E7 #BDCEF2

Accessibility & contrast

On white

3.72
#5782DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5782DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782DD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782DD#FFFFFF#000000##000000
##5782DD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5782dd;
/* rgb */ color: rgb(87, 130, 221);
/* oklch */ color: oklch(61.9% 0.146 263.6);
Tailwind
colors: {
  custom: {
    50: '#91a5e8',
    500: '#5782dd',
    950: '#000000',
  },
}
SCSS
$custom: #5782dd;
$custom-light: #91a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5782dd",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 220.746,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.14598,
    "h": 263.6
  },
  "luminance": 0.23212
}

Semantic roles & 50–950 ramp

primary
#5782DD
secondary
#E1D1AE
accent
#9417CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5782DD

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

Preview Lab → · Contrast checker → · Palette generator →

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