#5781CE#5781CE

#5781CE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.127 H 261.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5781CE
RGBrgb(87, 129, 206)
HSLhsl(219, 55%, 57%)
HSVhsv(219, 58%, 81%)
CMYKcmyk(57.8%, 37.4%, 0%, 19.2%)
CIE-LABlab(54.22, 8.54, -44.22)
CIE-LCHlch(54.22, 45.03, 280.93°)
OKLaboklab(60.8% -0.0183 -0.1253)
OKLCHoklch(60.8% 0.127 261.7)
XYZxyz(22.9175, 22.1811, 61.4542)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781CE #CEA457
analogous
#57BCCE #5781CE #6957CE
triadic
#5781CE #CE5781 #81CE57
tetradic
#5781CE #CE57BC #CEA457 #57CE69
square
#5781CE #CE57BC #CEA457 #57CE69
split-complementary
#5781CE #CE6957 #BCCE57
monochromatic
#274884 #3461B3 #5781CE #86A5DC #B6C8EA

Accessibility & contrast

On white

3.86
#5781CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5781CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781CE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781CE#FFFFFF#000000##000000
##5781CE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#517DCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5781ce;
/* rgb */ color: rgb(87, 129, 206);
/* oklch */ color: oklch(60.8% 0.127 261.7);
Tailwind
colors: {
  custom: {
    50: '#8fa5dd',
    500: '#5781ce',
    950: '#000000',
  },
}
SCSS
$custom: #5781ce;
$custom-light: #8fa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5781ce",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 218.824,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.12664,
    "h": 261.7
  },
  "luminance": 0.22183
}

Semantic roles & 50–950 ramp

primary
#5781CE
secondary
#D8C7A8
accent
#AA4ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5781CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5781CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva