#5A77EE#5A77EE

#5A77EE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.181 H 270.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5A77EE
RGBrgb(90, 119, 238)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.2%, 50%, 0%, 6.7%)
CIE-LABlab(53.53, 25.86, -63.29)
CIE-LCHlch(53.53, 68.37, 292.23°)
OKLaboklab(60.91% -0.0001 -0.1813)
OKLCHoklch(60.91% 0.181 270)
XYZxyz(26.2407, 21.5381, 83.6468)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77EE #EED15A
analogous
#5AC1EE #5A77EE #875AEE
triadic
#5A77EE #EE5A77 #77EE5A
tetradic
#5A77EE #EE5AC1 #EED15A #5AEE87
square
#5A77EE #EE5AC1 #EED15A #5AEE87
split-complementary
#5A77EE #EE875A #C1EE5A
monochromatic
#1334BA #2349E8 #5A77EE #91A5F4 #C9D2F9

Accessibility & contrast

On white

3.96
#5A77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5A77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77EE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77EE#FFFFFF#000000##000000
##5A77EE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a77ee;
/* rgb */ color: rgb(90, 119, 238);
/* oklch */ color: oklch(60.9% 0.181 270.0);
Tailwind
colors: {
  custom: {
    50: '#969df4',
    500: '#5a77ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a77ee;
$custom-light: #969df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77ee",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 228.243,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.18134,
    "h": 270
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#5A77EE
secondary
#ECE2B8
accent
#B408DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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