#5782C8#5782C8

#5782C8 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 60.7% C 0.117 H 259.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5782C8
RGBrgb(87, 130, 200)
HSLhsl(217, 51%, 56%)
HSVhsv(217, 57%, 78%)
CMYKcmyk(56.5%, 35%, 0%, 21.6%)
CIE-LABlab(54.20, 5.97, -40.85)
CIE-LCHlch(54.20, 41.28, 278.32°)
OKLaboklab(60.68% -0.0209 -0.1155)
OKLCHoklch(60.68% 0.117 259.7)
XYZxyz(22.3348, 22.1598, 57.7327)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782C8 #C89D57
analogous
#57BBC8 #5782C8 #6557C8
triadic
#5782C8 #C85782 #82C857
tetradic
#5782C8 #C857BB #C89D57 #57C865
square
#5782C8 #C857BB #C89D57 #57C865
split-complementary
#5782C8 #C86557 #BBC857
monochromatic
#29487C #3863AA #5782C8 #85A4D7 #B3C7E6

Accessibility & contrast

On white

3.87
#5782C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5782C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782C8#FFFFFF#000000##000000
##5782C81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6587CB
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5782c8;
/* rgb */ color: rgb(87, 130, 200);
/* oklch */ color: oklch(60.7% 0.117 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ea6d9',
    500: '#5782c8',
    950: '#000000',
  },
}
SCSS
$custom: #5782c8;
$custom-light: #8ea6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5782c8",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 200
  },
  "hsl": {
    "h": 217.168,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.11734,
    "h": 259.7
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#5782C8
secondary
#D5C3A6
accent
#A54EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5782C8

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

Preview Lab → · Contrast checker → · Palette generator →

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