#5772BB#5772BB

#5772BB is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.5% C 0.118 H 267.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5772BB
RGBrgb(87, 114, 187)
HSLhsl(224, 42%, 54%)
HSVhsv(224, 53%, 73%)
CMYKcmyk(53.5%, 39%, 0%, 26.7%)
CIE-LABlab(49.07, 11.46, -41.51)
CIE-LCHlch(49.07, 43.07, 285.43°)
OKLaboklab(56.49% -0.0056 -0.1175)
OKLCHoklch(56.49% 0.118 267.3)
XYZxyz(18.9145, 17.6474, 49.4136)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5772BB #BBA057
analogous
#57A4BB #5772BB #6E57BB
triadic
#5772BB #BB5772 #72BB57
tetradic
#5772BB #BB57A4 #BBA057 #57BB6E
square
#5772BB #BB57A4 #BBA057 #57BB6E
split-complementary
#5772BB #BB6E57 #A4BB57
monochromatic
#2C3D6C #3D5697 #5772BB #8397CD #AEBBDE

Accessibility & contrast

On white

4.64
#5772BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5772BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5772BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5772BB#FFFFFF#000000##FFFFFF
##5772BB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#24828D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5772bb;
/* rgb */ color: rgb(87, 114, 187);
/* oklch */ color: oklch(56.5% 0.118 267.3);
Tailwind
colors: {
  custom: {
    50: '#8d9ad0',
    500: '#5772bb',
    950: '#000000',
  },
}
SCSS
$custom: #5772bb;
$custom-light: #8d9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5772bb",
  "rgb": {
    "r": 87,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 223.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.11767,
    "h": 267.3
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#5772BB
secondary
#CCC1A2
accent
#B156D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5772BB

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

Preview Lab → · Contrast checker → · Palette generator →

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