#5770BF#5770BF

#5770BF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.126 H 268.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5770BF
RGBrgb(87, 112, 191)
HSLhsl(226, 45%, 55%)
HSVhsv(226, 54%, 75%)
CMYKcmyk(54.5%, 41.4%, 0%, 25.1%)
CIE-LABlab(48.73, 13.99, -44.35)
CIE-LCHlch(48.73, 46.51, 287.51°)
OKLaboklab(56.3% -0.0025 -0.1259)
OKLCHoklch(56.3% 0.126 268.9)
XYZxyz(19.1255, 17.3748, 51.6259)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5770BF #BFA657
analogous
#57A4BF #5770BF #7257BF
triadic
#5770BF #BF5770 #70BF57
tetradic
#5770BF #BF57A4 #BFA657 #57BF72
square
#5770BF #BF57A4 #BFA657 #57BF72
split-complementary
#5770BF #BF7257 #A4BF57
monochromatic
#2B3C71 #3C539D #5770BF #8396D0 #B0BBE1

Accessibility & contrast

On white

4.69
#5770BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5770BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5770BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5770BF#FFFFFF#000000##FFFFFF
##5770BF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#20818E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5770bf;
/* rgb */ color: rgb(87, 112, 191);
/* oklch */ color: oklch(56.3% 0.126 268.9);
Tailwind
colors: {
  custom: {
    50: '#8e98d3',
    500: '#5770bf',
    950: '#000000',
  },
}
SCSS
$custom: #5770bf;
$custom-light: #8e98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5770bf",
  "rgb": {
    "r": 87,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 225.577,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.12589,
    "h": 268.9
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#5770BF
secondary
#CFC4A3
accent
#B553D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5770BF

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

Preview Lab → · Contrast checker → · Palette generator →

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