#5A77DE#5A77DE

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

Color values

HEX#5A77DE
RGBrgb(90, 119, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(59.5%, 46.4%, 0%, 12.9%)
CIE-LABlab(52.55, 20.52, -55.90)
CIE-LCHlch(52.55, 59.54, 290.16°)
OKLaboklab(59.84% -0.0019 -0.1596)
OKLCHoklch(59.84% 0.16 269.3)
XYZxyz(23.9937, 20.6393, 71.8125)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77DE #DEC15A
analogous
#5AB9DE #5A77DE #7F5ADE
triadic
#5A77DE #DE5A77 #77DE5A
tetradic
#5A77DE #DE5AB9 #DEC15A #5ADE7F
square
#5A77DE #DE5AB9 #DEC15A #5ADE7F
split-complementary
#5A77DE #DE7F5A #B9DE5A
monochromatic
#203B9E #2A4FD1 #5A77DE #8DA1E8 #C0CBF2

Accessibility & contrast

On white

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

On black

5.13
#5A77DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77DE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77DE#FFFFFF#000000##000000
##5A77DE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a77de;
/* rgb */ color: rgb(90, 119, 222);
/* oklch */ color: oklch(59.8% 0.160 269.3);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5a77de',
    950: '#000000',
  },
}
SCSS
$custom: #5a77de;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77de",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 226.818,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.15962,
    "h": 269.3
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#5A77DE
secondary
#E3D8B1
accent
#A617CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A77DE

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

Preview Lab → · Contrast checker → · Palette generator →

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