#5A77CF#5A77CF

#5A77CF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.139 H 268.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5A77CF
RGBrgb(90, 119, 207)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(56.5%, 42.5%, 0%, 18.8%)
CIE-LABlab(51.69, 15.56, -48.79)
CIE-LCHlch(51.69, 51.21, 287.69°)
OKLaboklab(58.91% -0.0043 -0.1387)
OKLCHoklch(58.91% 0.139 268.2)
XYZxyz(22.0720, 19.8706, 61.6917)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77CF #CFB25A
analogous
#5AB2CF #5A77CF #775ACF
triadic
#5A77CF #CF5A77 #77CF5A
tetradic
#5A77CF #CF5AB2 #CFB25A #5ACF77
square
#5A77CF #CF5AB2 #CFB25A #5ACF77
split-complementary
#5A77CF #CF775A #B2CF5A
monochromatic
#273F87 #3555B7 #5A77CF #899EDD #B9C5EB

Accessibility & contrast

On white

4.22
#5A77CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5A77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77CF#FFFFFF#000000##000000
##5A77CF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#4276CD
Tritanopia (blue-blind)
#098A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a77cf;
/* rgb */ color: rgb(90, 119, 207);
/* oklch */ color: oklch(58.9% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#919dde',
    500: '#5a77cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a77cf;
$custom-light: #919dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77cf",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 225.128,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.1388,
    "h": 268.2
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#5A77CF
secondary
#DACEAB
accent
#B94ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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