#5782CD#5782CD

#5782CD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.124 H 260.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5782CD
RGBrgb(87, 130, 205)
HSLhsl(218, 54%, 57%)
HSVhsv(218, 58%, 80%)
CMYKcmyk(57.6%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.45, 7.61, -43.29)
CIE-LCHlch(54.45, 43.95, 279.97°)
OKLaboklab(60.96% -0.0197 -0.1226)
OKLCHoklch(60.96% 0.124 260.9)
XYZxyz(22.9287, 22.3974, 60.8606)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782CD #CDA257
analogous
#57BDCD #5782CD #6757CD
triadic
#5782CD #CD5782 #82CD57
tetradic
#5782CD #CD57BD #CDA257 #57CD67
square
#5782CD #CD57BD #CDA257 #57CD67
split-complementary
#5782CD #CD6757 #BDCD57
monochromatic
#274883 #3562B2 #5782CD #86A5DB #B5C8E9

Accessibility & contrast

On white

3.83
#5782CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5782CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782CD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782CD#FFFFFF#000000##000000
##5782CD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5782cd;
/* rgb */ color: rgb(87, 130, 205);
/* oklch */ color: oklch(61.0% 0.124 260.9);
Tailwind
colors: {
  custom: {
    50: '#8fa5dc',
    500: '#5782cd',
    950: '#000000',
  },
}
SCSS
$custom: #5782cd;
$custom-light: #8fa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5782cd",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 218.136,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.12416,
    "h": 260.9
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#5782CD
secondary
#D8C6A8
accent
#A84ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5782CD

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

Preview Lab → · Contrast checker → · Palette generator →

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