#5A77BC#5A77BC

#5A77BC is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.8% C 0.112 H 265.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5A77BC
RGBrgb(90, 119, 188)
HSLhsl(222, 42%, 55%)
HSVhsv(222, 52%, 74%)
CMYKcmyk(52.1%, 36.7%, 0%, 26.3%)
CIE-LABlab(50.68, 9.41, -39.52)
CIE-LCHlch(50.68, 40.62, 283.39°)
OKLaboklab(57.8% -0.0083 -0.1116)
OKLCHoklch(57.8% 0.112 265.8)
XYZxyz(19.8874, 18.9968, 50.1860)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77BC #BC9F5A
analogous
#5AA8BC #5A77BC #6E5ABC
triadic
#5A77BC #BC5A77 #77BC5A
tetradic
#5A77BC #BC5AA8 #BC9F5A #5ABC6E
square
#5A77BC #BC5AA8 #BC9F5A #5ABC6E
split-complementary
#5A77BC #BC6E5A #A8BC5A
monochromatic
#2D406F #3F5A9A #5A77BC #869BCE #B1BFDF

Accessibility & contrast

On white

4.38
#5A77BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5A77BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77BC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77BC#FFFFFF#000000##000000
##5A77BC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#2B8690
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a77bc;
/* rgb */ color: rgb(90, 119, 188);
/* oklch */ color: oklch(57.8% 0.112 265.8);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5a77bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a77bc;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77bc",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 222.245,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.11194,
    "h": 265.8
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#5A77BC
secondary
#CEC1A4
accent
#AD56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A77BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A77BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva