#5772BE#5772BE

#5772BE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.122 H 267.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5772BE
RGBrgb(87, 114, 190)
HSLhsl(224, 44%, 54%)
HSVhsv(224, 54%, 75%)
CMYKcmyk(54.2%, 40%, 0%, 25.5%)
CIE-LABlab(49.22, 12.43, -42.99)
CIE-LCHlch(49.22, 44.75, 286.13°)
OKLaboklab(56.66% -0.005 -0.1219)
OKLCHoklch(56.66% 0.122 267.7)
XYZxyz(19.2390, 17.7772, 51.1227)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772BE #BEA357
analogous
#57A6BE #5772BE #7057BE
triadic
#5772BE #BE5772 #72BE57
tetradic
#5772BE #BE57A6 #BEA357 #57BE70
square
#5772BE #BE57A6 #BEA357 #57BE70
split-complementary
#5772BE #BE7057 #A6BE57
monochromatic
#2B3D6F #3C559C #5772BE #8397CF #AFBCE0

Accessibility & contrast

On white

4.61
#5772BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5772BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5772BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772BE#FFFFFF#000000##FFFFFF
##5772BE1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#20838F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5772be;
/* rgb */ color: rgb(87, 114, 190);
/* oklch */ color: oklch(56.7% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ad2',
    500: '#5772be',
    950: '#000000',
  },
}
SCSS
$custom: #5772be;
$custom-light: #8d9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5772be",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 224.272,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.12196,
    "h": 267.7
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#5772BE
secondary
#CEC3A3
accent
#B254D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5772BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5772BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva