#5780C8#5780C8

#5780C8 is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.2% C 0.120 H 261.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5780C8
RGBrgb(87, 128, 200)
HSLhsl(218, 51%, 56%)
HSVhsv(218, 57%, 78%)
CMYKcmyk(56.5%, 36%, 0%, 21.6%)
CIE-LABlab(53.64, 7.17, -41.73)
CIE-LCHlch(53.64, 42.35, 279.75°)
OKLaboklab(60.24% -0.0186 -0.1181)
OKLCHoklch(60.24% 0.12 261)
XYZxyz(22.0714, 21.6329, 57.6449)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5780C8 #C89F57
analogous
#57B9C8 #5780C8 #6757C8
triadic
#5780C8 #C85780 #80C857
tetradic
#5780C8 #C857B9 #C89F57 #57C867
square
#5780C8 #C857B9 #C89F57 #57C867
split-complementary
#5780C8 #C86757 #B9C857
monochromatic
#29477C #3861AA #5780C8 #85A3D7 #B3C6E6

Accessibility & contrast

On white

3.94
#5780C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5780C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5780C8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5780C8#FFFFFF#000000##000000
##5780C81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CB
Deuteranopia (green-blind)
#547BC6
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5780c8;
/* rgb */ color: rgb(87, 128, 200);
/* oklch */ color: oklch(60.2% 0.120 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ea4d9',
    500: '#5780c8',
    950: '#000000',
  },
}
SCSS
$custom: #5780c8;
$custom-light: #8ea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5780c8",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 200
  },
  "hsl": {
    "h": 218.23,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.11953,
    "h": 261
  },
  "luminance": 0.21635
}

Semantic roles & 50–950 ramp

primary
#5780C8
secondary
#D5C4A6
accent
#A74EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5780C8

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

Preview Lab → · Contrast checker → · Palette generator →

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