#5782CC#5782CC

#5782CC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 60.9% C 0.123 H 260.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5782CC
RGBrgb(87, 130, 204)
HSLhsl(218, 53%, 57%)
HSVhsv(218, 57%, 80%)
CMYKcmyk(57.4%, 36.3%, 0%, 20%)
CIE-LABlab(54.40, 7.28, -42.80)
CIE-LCHlch(54.40, 43.42, 279.65°)
OKLaboklab(60.9% -0.0199 -0.1212)
OKLCHoklch(60.9% 0.123 260.7)
XYZxyz(22.8084, 22.3493, 60.2269)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782CC #CCA157
analogous
#57BCCC #5782CC #6757CC
triadic
#5782CC #CC5782 #82CC57
tetradic
#5782CC #CC57BC #CCA157 #57CC67
square
#5782CC #CC57BC #CCA157 #57CC67
split-complementary
#5782CC #CC6757 #BCCC57
monochromatic
#274881 #3663B0 #5782CC #86A5DA #B5C8E9

Accessibility & contrast

On white

3.84
#5782CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5782CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782CC#FFFFFF#000000##000000
##5782CC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5782cc;
/* rgb */ color: rgb(87, 130, 204);
/* oklch */ color: oklch(60.9% 0.123 260.7);
Tailwind
colors: {
  custom: {
    50: '#8fa6dc',
    500: '#5782cc',
    950: '#000000',
  },
}
SCSS
$custom: #5782cc;
$custom-light: #8fa6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5782cc",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 217.949,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.609,
    "c": 0.12279,
    "h": 260.7
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

primary
#5782CC
secondary
#D7C6A8
accent
#A74BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5782CC

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

Preview Lab → · Contrast checker → · Palette generator →

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