#5771CD#5771CD

#5771CD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.144 H 269.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5771CD
RGBrgb(87, 113, 205)
HSLhsl(227, 54%, 57%)
HSVhsv(227, 58%, 80%)
CMYKcmyk(57.6%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.79, 17.98, -50.69)
CIE-LCHlch(49.79, 53.79, 289.53°)
OKLaboklab(57.37% -0.0011 -0.1444)
OKLCHoklch(57.37% 0.144 269.6)
XYZxyz(20.8514, 18.2426, 60.1682)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771CD #CDB357
analogous
#57ACCD #5771CD #7857CD
triadic
#5771CD #CD5771 #71CD57
tetradic
#5771CD #CD57AC #CDB357 #57CD78
square
#5771CD #CD57AC #CDB357 #57CD78
split-complementary
#5771CD #CD7857 #ACCD57
monochromatic
#273B83 #3550B2 #5771CD #8699DB #B5C1E9

Accessibility & contrast

On white

4.52
#5771CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5771CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771CD#FFFFFF#000000##000000
##5771CD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#3771CB
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5771cd;
/* rgb */ color: rgb(87, 113, 205);
/* oklch */ color: oklch(57.4% 0.144 269.6);
Tailwind
colors: {
  custom: {
    50: '#8f99dd',
    500: '#5771cd',
    950: '#000000',
  },
}
SCSS
$custom: #5771cd;
$custom-light: #8f99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5771cd",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 226.78,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.14445,
    "h": 269.6
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#5771CD
secondary
#D8CDA8
accent
#BD4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771CD

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

Preview Lab → · Contrast checker → · Palette generator →

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