#5A77F6#5A77F6

#5A77F6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.192 H 270.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5A77F6
RGBrgb(90, 119, 246)
HSLhsl(229, 90%, 66%)
HSVhsv(229, 63%, 96%)
CMYKcmyk(63.4%, 51.6%, 0%, 3.5%)
CIE-LABlab(54.05, 28.54, -66.91)
CIE-LCHlch(54.05, 72.74, 293.10°)
OKLaboklab(61.46% 0.0006 -0.192)
OKLCHoklch(61.46% 0.192 270.2)
XYZxyz(27.4422, 22.0187, 89.9748)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77F6 #F6D95A
analogous
#5AC5F6 #5A77F6 #8B5AF6
triadic
#5A77F6 #F65A77 #77F65A
tetradic
#5A77F6 #F65AC5 #F6D95A #5AF68B
square
#5A77F6 #F65AC5 #F6D95A #5AF68B
split-complementary
#5A77F6 #F68B5A #C5F65A
monochromatic
#0B2FCB #2047F3 #5A77F6 #94A7F9 #CED7FC

Accessibility & contrast

On white

3.89
#5A77F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5A77F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77F6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77F6#FFFFFF#000000##000000
##5A77F61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FA
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a77f6;
/* rgb */ color: rgb(90, 119, 246);
/* oklch */ color: oklch(61.5% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#979dfa',
    500: '#5a77f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a77f6;
$custom-light: #979dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77f6",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 228.846,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.192,
    "h": 270.2
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#5A77F6
secondary
#F0E6BC
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A77F6

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

Preview Lab → · Contrast checker → · Palette generator →

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