#5770CB#5770CB

#5770CB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.143 H 269.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5770CB
RGBrgb(87, 112, 203)
HSLhsl(227, 53%, 57%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(57.1%, 44.8%, 0%, 20.4%)
CIE-LABlab(49.40, 17.94, -50.16)
CIE-LCHlch(49.40, 53.27, 289.68°)
OKLaboklab(57.04% -0.0004 -0.1429)
OKLCHoklch(57.04% 0.143 269.9)
XYZxyz(20.5006, 17.9248, 58.8679)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770CB #CBB257
analogous
#57AACB #5770CB #7857CB
triadic
#5770CB #CB5770 #70CB57
tetradic
#5770CB #CB57AA #CBB257 #57CB78
square
#5770CB #CB57AA #CBB257 #57CB78
split-complementary
#5770CB #CB7857 #AACB57
monochromatic
#283B80 #3650AF #5770CB #8698D9 #B4C0E8

Accessibility & contrast

On white

4.58
#5770CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5770CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5770CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770CB#FFFFFF#000000##000000
##5770CB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#028494
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5770cb;
/* rgb */ color: rgb(87, 112, 203);
/* oklch */ color: oklch(57.0% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#8f98db',
    500: '#5770cb',
    950: '#000000',
  },
}
SCSS
$custom: #5770cb;
$custom-light: #8f98db;
$custom-dark: #000000;
JSON
{
  "hex": "#5770cb",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 227.069,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.14291,
    "h": 269.9
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#5770CB
secondary
#D7CCA7
accent
#BD4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5770CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5770CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva