#5A77DD#5A77DD

#5A77DD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.158 H 269.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A77DD
RGBrgb(90, 119, 221)
HSLhsl(227, 66%, 61%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(59.3%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.49, 20.18, -55.43)
CIE-LCHlch(52.49, 58.99, 290.01°)
OKLaboklab(59.78% -0.0021 -0.1582)
OKLCHoklch(59.78% 0.158 269.2)
XYZxyz(23.8600, 20.5858, 71.1087)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77DD #DDC05A
analogous
#5AB8DD #5A77DD #7E5ADD
triadic
#5A77DD #DD5A77 #77DD5A
tetradic
#5A77DD #DD5AB8 #DDC05A #5ADD7E
square
#5A77DD #DD5AB8 #DDC05A #5ADD7E
split-complementary
#5A77DD #DD7E5A #B8DD5A
monochromatic
#203C9C #2B4FCF #5A77DD #8DA1E7 #BFCBF2

Accessibility & contrast

On white

4.10
#5A77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5A77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77DD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77DD#FFFFFF#000000##000000
##5A77DD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a77dd;
/* rgb */ color: rgb(90, 119, 221);
/* oklch */ color: oklch(59.8% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#939de8',
    500: '#5a77dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a77dd;
$custom-light: #939de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77dd",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 226.718,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.15824,
    "h": 269.2
  },
  "luminance": 0.20588
}

Semantic roles & 50–950 ramp

primary
#5A77DD
secondary
#E2D7B1
accent
#A518CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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