#5A77C7#5A77C7

#5A77C7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.128 H 267.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A77C7
RGBrgb(90, 119, 199)
HSLhsl(224, 49%, 57%)
HSVhsv(224, 55%, 78%)
CMYKcmyk(54.8%, 40.2%, 0%, 22%)
CIE-LABlab(51.25, 12.95, -44.92)
CIE-LCHlch(51.25, 46.75, 286.08°)
OKLaboklab(58.43% -0.0059 -0.1274)
OKLCHoklch(58.43% 0.128 267.4)
XYZxyz(21.1186, 19.4893, 56.6707)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77C7 #C7AA5A
analogous
#5AADC7 #5A77C7 #745AC7
triadic
#5A77C7 #C75A77 #77C75A
tetradic
#5A77C7 #C75AAD #C7AA5A #5AC774
square
#5A77C7 #C75AAD #C7AA5A #5AC774
split-complementary
#5A77C7 #C7745A #ADC75A
monochromatic
#2A407C #3A58AA #5A77C7 #889DD7 #B5C2E6

Accessibility & contrast

On white

4.29
#5A77C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5A77C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77C7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77C7#FFFFFF#000000##000000
##5A77C71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#1D8895
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a77c7;
/* rgb */ color: rgb(90, 119, 199);
/* oklch */ color: oklch(58.4% 0.128 267.4);
Tailwind
colors: {
  custom: {
    50: '#909dd8',
    500: '#5a77c7',
    950: '#000000',
  },
}
SCSS
$custom: #5a77c7;
$custom-light: #909dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77c7",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 224.037,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.12754,
    "h": 267.4
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#5A77C7
secondary
#D5C9A8
accent
#B44FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5A77C7

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

Preview Lab → · Contrast checker → · Palette generator →

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