#5770CA#5770CA

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

Color values

HEX#5770CA
RGBrgb(87, 112, 202)
HSLhsl(227, 52%, 57%)
HSVhsv(227, 57%, 79%)
CMYKcmyk(56.9%, 44.6%, 0%, 20.8%)
CIE-LABlab(49.35, 17.61, -49.68)
CIE-LCHlch(49.35, 52.71, 289.51°)
OKLaboklab(56.97% -0.0005 -0.1415)
OKLCHoklch(56.97% 0.142 269.8)
XYZxyz(20.3818, 17.8773, 58.2423)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770CA #CAB157
analogous
#57A9CA #5770CA #7857CA
triadic
#5770CA #CA5770 #70CA57
tetradic
#5770CA #CA57A9 #CAB157 #57CA78
square
#5770CA #CA57A9 #CAB157 #57CA78
split-complementary
#5770CA #CA7857 #A9CA57
monochromatic
#283B7F #3750AD #5770CA #8698D9 #B4BFE7

Accessibility & contrast

On white

4.59
#5770CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5770CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5770CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770CA#FFFFFF#000000##FFFFFF
##5770CA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#058493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5770ca;
/* rgb */ color: rgb(87, 112, 202);
/* oklch */ color: oklch(57.0% 0.141 269.8);
Tailwind
colors: {
  custom: {
    50: '#8f98db',
    500: '#5770ca',
    950: '#000000',
  },
}
SCSS
$custom: #5770ca;
$custom-light: #8f98db;
$custom-dark: #000000;
JSON
{
  "hex": "#5770ca",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 226.957,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.1415,
    "h": 269.8
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#5770CA
secondary
#D6CCA7
accent
#BC4CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5770CA

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

Preview Lab → · Contrast checker → · Palette generator →

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