#5780D7#5780D7

#5780D7 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.140 H 263.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5780D7
RGBrgb(87, 128, 215)
HSLhsl(221, 62%, 59%)
HSVhsv(221, 60%, 84%)
CMYKcmyk(59.5%, 40.5%, 0%, 15.7%)
CIE-LABlab(54.42, 12.12, -48.99)
CIE-LCHlch(54.42, 50.46, 283.90°)
OKLaboklab(61.1% -0.0153 -0.1393)
OKLCHoklch(61.1% 0.14 263.7)
XYZxyz(23.9112, 22.3688, 67.3344)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5780D7 #D7AE57
analogous
#57C0D7 #5780D7 #6E57D7
triadic
#5780D7 #D75780 #80D757
tetradic
#5780D7 #D757C0 #D7AE57 #57D76E
square
#5780D7 #D757C0 #D7AE57 #57D76E
split-complementary
#5780D7 #D76E57 #C0D757
monochromatic
#234691 #2E5EC2 #5780D7 #88A5E3 #BACBEF

Accessibility & contrast

On white

3.84
#5780D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5780D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5780D7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5780D7#FFFFFF#000000##000000
##5780D71.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)
#5A88DA
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5780d7;
/* rgb */ color: rgb(87, 128, 215);
/* oklch */ color: oklch(61.1% 0.140 263.7);
Tailwind
colors: {
  custom: {
    50: '#91a4e4',
    500: '#5780d7',
    950: '#000000',
  },
}
SCSS
$custom: #5780d7;
$custom-light: #91a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5780d7",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 215
  },
  "hsl": {
    "h": 220.781,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.14012,
    "h": 263.7
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#5780D7
secondary
#DECEAC
accent
#B143E5
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #5780D7

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

Preview Lab → · Contrast checker → · Palette generator →

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