#5782DB#5782DB

#5782DB is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.143 H 263.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5782DB
RGBrgb(87, 130, 219)
HSLhsl(220, 65%, 60%)
HSVhsv(220, 60%, 86%)
CMYKcmyk(60.3%, 40.6%, 0%, 14.1%)
CIE-LABlab(55.18, 12.24, -50.02)
CIE-LCHlch(55.18, 51.50, 283.75°)
OKLaboklab(61.76% -0.0166 -0.1423)
OKLCHoklch(61.76% 0.143 263.3)
XYZxyz(24.6949, 23.1038, 70.1622)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782DB #DBB057
analogous
#57C4DB #5782DB #6E57DB
triadic
#5782DB #DB5782 #82DB57
tetradic
#5782DB #DB57C4 #DBB057 #57DB6E
square
#5782DB #DB57C4 #DBB057 #57DB6E
split-complementary
#5782DB #DB6E57 #C4DB57
monochromatic
#204797 #2B5FCA #5782DB #89A7E6 #BCCDF1

Accessibility & contrast

On white

3.74
#5782DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5782DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782DB#FFFFFF#000000##000000
##5782DB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDE
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5782db;
/* rgb */ color: rgb(87, 130, 219);
/* oklch */ color: oklch(61.8% 0.143 263.3);
Tailwind
colors: {
  custom: {
    50: '#91a5e6',
    500: '#5782db',
    950: '#000000',
  },
}
SCSS
$custom: #5782db;
$custom-light: #91a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5782db",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 220.455,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.14326,
    "h": 263.3
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#5782DB
secondary
#E0D0AD
accent
#B140E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5782DB

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

Preview Lab → · Contrast checker → · Palette generator →

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