#5782CB#5782CB

#5782CB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.8% C 0.121 H 260.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5782CB
RGBrgb(87, 130, 203)
HSLhsl(218, 53%, 57%)
HSVhsv(218, 57%, 80%)
CMYKcmyk(57.1%, 36%, 0%, 20.4%)
CIE-LABlab(54.35, 6.95, -42.32)
CIE-LCHlch(54.35, 42.88, 279.33°)
OKLaboklab(60.85% -0.0201 -0.1197)
OKLCHoklch(60.85% 0.121 260.4)
XYZxyz(22.6889, 22.3014, 59.5973)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782CB #CBA057
analogous
#57BCCB #5782CB #6657CB
triadic
#5782CB #CB5782 #82CB57
tetradic
#5782CB #CB57BC #CBA057 #57CB66
square
#5782CB #CB57BC #CBA057 #57CB66
split-complementary
#5782CB #CB6657 #BCCB57
monochromatic
#284880 #3663AF #5782CB #86A5D9 #B4C8E8

Accessibility & contrast

On white

3.85
#5782CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5782CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782CB#FFFFFF#000000##000000
##5782CB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5782cb;
/* rgb */ color: rgb(87, 130, 203);
/* oklch */ color: oklch(60.8% 0.121 260.4);
Tailwind
colors: {
  custom: {
    50: '#8fa6db',
    500: '#5782cb',
    950: '#000000',
  },
}
SCSS
$custom: #5782cb;
$custom-light: #8fa6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5782cb",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 217.759,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.12143,
    "h": 260.4
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#5782CB
secondary
#D7C5A7
accent
#A74CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5782CB

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

Preview Lab → · Contrast checker → · Palette generator →

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