#5782D7#5782D7

#5782D7 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.138 H 262.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5782D7
RGBrgb(87, 130, 215)
HSLhsl(220, 62%, 59%)
HSVhsv(220, 60%, 84%)
CMYKcmyk(59.5%, 39.5%, 0%, 15.7%)
CIE-LABlab(54.96, 10.91, -48.12)
CIE-LCHlch(54.96, 49.34, 282.78°)
OKLaboklab(61.53% -0.0174 -0.1367)
OKLCHoklch(61.53% 0.138 262.7)
XYZxyz(24.1746, 22.8957, 67.4222)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782D7 #D7AC57
analogous
#57C2D7 #5782D7 #6C57D7
triadic
#5782D7 #D75782 #82D757
tetradic
#5782D7 #D757C2 #D7AC57 #57D76C
square
#5782D7 #D757C2 #D7AC57 #57D76C
split-complementary
#5782D7 #D76C57 #C2D757
monochromatic
#234891 #2E60C2 #5782D7 #88A7E3 #BACCEF

Accessibility & contrast

On white

3.76
#5782D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5782D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782D7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782D7#FFFFFF#000000##000000
##5782D71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5782d7;
/* rgb */ color: rgb(87, 130, 215);
/* oklch */ color: oklch(61.5% 0.138 262.7);
Tailwind
colors: {
  custom: {
    50: '#90a5e4',
    500: '#5782d7',
    950: '#000000',
  },
}
SCSS
$custom: #5782d7;
$custom-light: #90a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5782d7",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 215
  },
  "hsl": {
    "h": 219.844,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.13781,
    "h": 262.7
  },
  "luminance": 0.22898
}

Semantic roles & 50–950 ramp

primary
#5782D7
secondary
#DECDAC
accent
#AE43E5
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #5782D7

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

Preview Lab → · Contrast checker → · Palette generator →

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