#5780CD#5780CD

#5780CD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.126 H 262.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5780CD
RGBrgb(87, 128, 205)
HSLhsl(219, 54%, 57%)
HSVhsv(219, 58%, 80%)
CMYKcmyk(57.6%, 37.6%, 0%, 19.6%)
CIE-LABlab(53.89, 8.81, -44.17)
CIE-LCHlch(53.89, 45.04, 281.28°)
OKLaboklab(60.52% -0.0175 -0.1252)
OKLCHoklch(60.52% 0.126 262.1)
XYZxyz(22.6653, 21.8705, 60.7728)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5780CD #CDA457
analogous
#57BBCD #5780CD #6957CD
triadic
#5780CD #CD5780 #80CD57
tetradic
#5780CD #CD57BB #CDA457 #57CD69
square
#5780CD #CD57BB #CDA457 #57CD69
split-complementary
#5780CD #CD6957 #BBCD57
monochromatic
#274783 #3560B2 #5780CD #86A4DB #B5C7E9

Accessibility & contrast

On white

3.91
#5780CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5780CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5780CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5780CD#FFFFFF#000000##000000
##5780CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5780cd;
/* rgb */ color: rgb(87, 128, 205);
/* oklch */ color: oklch(60.5% 0.126 262.1);
Tailwind
colors: {
  custom: {
    50: '#8fa4dc',
    500: '#5780cd',
    950: '#000000',
  },
}
SCSS
$custom: #5780cd;
$custom-light: #8fa4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5780cd",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 219.153,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.12639,
    "h": 262.1
  },
  "luminance": 0.21872
}

Semantic roles & 50–950 ramp

primary
#5780CD
secondary
#D8C7A8
accent
#AA4ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5780CD

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

Preview Lab → · Contrast checker → · Palette generator →

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