#5A77F0#5A77F0

#5A77F0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.184 H 270.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A77F0
RGBrgb(90, 119, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(62.5%, 50.4%, 0%, 5.9%)
CIE-LABlab(53.66, 26.53, -64.20)
CIE-LCHlch(53.66, 69.46, 292.45°)
OKLaboklab(61.04% 0.0001 -0.184)
OKLCHoklch(61.04% 0.184 270)
XYZxyz(26.5361, 21.6563, 85.2028)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77F0 #F0D35A
analogous
#5AC2F0 #5A77F0 #885AF0
triadic
#5A77F0 #F05A77 #77F05A
tetradic
#5A77F0 #F05AC2 #F0D35A #5AF088
square
#5A77F0 #F05AC2 #F0D35A #5AF088
split-complementary
#5A77F0 #F0885A #C2F05A
monochromatic
#1133BE #2249EB #5A77F0 #92A5F5 #CAD3FA

Accessibility & contrast

On white

3.94
#5A77F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5A77F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77F0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77F0#FFFFFF#000000##000000
##5A77F01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F4
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a77f0;
/* rgb */ color: rgb(90, 119, 240);
/* oklch */ color: oklch(61.0% 0.184 270.0);
Tailwind
colors: {
  custom: {
    50: '#969df6',
    500: '#5a77f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a77f0;
$custom-light: #969df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77f0",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 228.4,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.18402,
    "h": 270
  },
  "luminance": 0.21659
}

Semantic roles & 50–950 ramp

primary
#5A77F0
secondary
#EDE3B9
accent
#B606E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A77F0

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

Preview Lab → · Contrast checker → · Palette generator →

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