#5A77BF#5A77BF

#5A77BF is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.0% C 0.116 H 266.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A77BF
RGBrgb(90, 119, 191)
HSLhsl(223, 44%, 55%)
HSVhsv(223, 53%, 75%)
CMYKcmyk(52.9%, 37.7%, 0%, 25.1%)
CIE-LABlab(50.84, 10.37, -41.00)
CIE-LCHlch(50.84, 42.29, 284.19°)
OKLaboklab(57.97% -0.0076 -0.1159)
OKLCHoklch(57.97% 0.116 266.3)
XYZxyz(20.2141, 19.1275, 51.9069)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77BF #BFA25A
analogous
#5AAABF #5A77BF #6F5ABF
triadic
#5A77BF #BF5A77 #77BF5A
tetradic
#5A77BF #BF5AAA #BFA25A #5ABF6F
square
#5A77BF #BF5AAA #BFA25A #5ABF6F
split-complementary
#5A77BF #BF6F5A #AABF5A
monochromatic
#2C4072 #3D599E #5A77BF #869BD0 #B2C0E1

Accessibility & contrast

On white

4.35
#5A77BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5A77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77BF#FFFFFF#000000##000000
##5A77BF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#288792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a77bf;
/* rgb */ color: rgb(90, 119, 191);
/* oklch */ color: oklch(58.0% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#8f9dd2',
    500: '#5a77bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a77bf;
$custom-light: #8f9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77bf",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 222.772,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.1162,
    "h": 266.3
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#5A77BF
secondary
#D0C3A5
accent
#AF54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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