#5771CA#5771CA

#5771CA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.140 H 269.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5771CA
RGBrgb(87, 113, 202)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 57%, 79%)
CMYKcmyk(56.9%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.62, 16.99, -49.25)
CIE-LCHlch(49.62, 52.10, 289.03°)
OKLaboklab(57.18% -0.0016 -0.1402)
OKLCHoklch(57.18% 0.14 269.3)
XYZxyz(20.4927, 18.0992, 58.2793)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771CA #CAB057
analogous
#57ABCA #5771CA #7757CA
triadic
#5771CA #CA5771 #71CA57
tetradic
#5771CA #CA57AB #CAB057 #57CA77
square
#5771CA #CA57AB #CAB057 #57CA77
split-complementary
#5771CA #CA7757 #ABCA57
monochromatic
#283C7F #3751AD #5771CA #8698D9 #B4C0E7

Accessibility & contrast

On white

4.55
#5771CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5771CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771CA#FFFFFF#000000##000000
##5771CA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#058594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5771ca;
/* rgb */ color: rgb(87, 113, 202);
/* oklch */ color: oklch(57.2% 0.140 269.3);
Tailwind
colors: {
  custom: {
    50: '#8f99da',
    500: '#5771ca',
    950: '#000000',
  },
}
SCSS
$custom: #5771ca;
$custom-light: #8f99da;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ca",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 226.435,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.14024,
    "h": 269.3
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#5771CA
secondary
#D6CBA7
accent
#BB4CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771CA

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

Preview Lab → · Contrast checker → · Palette generator →

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