#5A73EC#5A73EC

#5A73EC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.184 H 271.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5A73EC
RGBrgb(90, 115, 236)
HSLhsl(230, 79%, 64%)
HSVhsv(230, 62%, 93%)
CMYKcmyk(61.9%, 51.3%, 0%, 7.5%)
CIE-LABlab(52.39, 27.64, -64.02)
CIE-LCHlch(52.39, 69.73, 293.35°)
OKLaboklab(60% 0.0035 -0.1835)
OKLCHoklch(60% 0.184 271.1)
XYZxyz(25.4824, 20.4891, 81.9525)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73EC #ECD35A
analogous
#5ABCEC #5A73EC #8A5AEC
triadic
#5A73EC #EC5A73 #73EC5A
tetradic
#5A73EC #EC5ABC #ECD35A #5AEC8A
square
#5A73EC #EC5ABC #ECD35A #5AEC8A
split-complementary
#5A73EC #EC8A5A #BCEC5A
monochromatic
#1531B7 #2344E6 #5A73EC #91A2F2 #C8D0F9

Accessibility & contrast

On white

4.12
#5A73EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5A73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73EC#FFFFFF#000000##000000
##5A73EC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a73ec;
/* rgb */ color: rgb(90, 115, 236);
/* oklch */ color: oklch(60.0% 0.184 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf3',
    500: '#5a73ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a73ec;
$custom-light: #969bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73ec",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 229.726,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.18358,
    "h": 271.1
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#5A73EC
secondary
#EBE2B7
accent
#B80ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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