#5780BD#5780BD

#5780BD is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.7% C 0.104 H 258.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5780BD
RGBrgb(87, 128, 189)
HSLhsl(216, 44%, 54%)
HSVhsv(216, 54%, 74%)
CMYKcmyk(54%, 32.3%, 0%, 25.9%)
CIE-LABlab(53.10, 3.62, -36.30)
CIE-LCHlch(53.10, 36.48, 275.70°)
OKLaboklab(59.65% -0.0215 -0.1023)
OKLCHoklch(59.65% 0.105 258.1)
XYZxyz(20.8318, 21.1371, 51.1164)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5780BD #BD9457
analogous
#57B3BD #5780BD #6157BD
triadic
#5780BD #BD5780 #80BD57
tetradic
#5780BD #BD57B3 #BD9457 #57BD61
square
#5780BD #BD57B3 #BD9457 #57BD61
split-complementary
#5780BD #BD6157 #B3BD57
monochromatic
#2B466E #3D629A #5780BD #83A1CE #AFC2E0

Accessibility & contrast

On white

4.02
#5780BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5780BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5780BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5780BD#FFFFFF#000000##000000
##5780BD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#1D8E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5780bd;
/* rgb */ color: rgb(87, 128, 189);
/* oklch */ color: oklch(59.7% 0.104 258.1);
Tailwind
colors: {
  custom: {
    50: '#8da4d1',
    500: '#5780bd',
    950: '#000000',
  },
}
SCSS
$custom: #5780bd;
$custom-light: #8da4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5780bd",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 189
  },
  "hsl": {
    "h": 215.882,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.1045,
    "h": 258.1
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#5780BD
secondary
#CEBCA2
accent
#A054D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5780BD

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

Preview Lab → · Contrast checker → · Palette generator →

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