#5A73EA#5A73EA

#5A73EA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.181 H 271.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A73EA
RGBrgb(90, 115, 234)
HSLhsl(230, 77%, 64%)
HSVhsv(230, 62%, 92%)
CMYKcmyk(61.5%, 50.9%, 0%, 8.2%)
CIE-LABlab(52.26, 26.97, -63.11)
CIE-LCHlch(52.26, 68.63, 293.14°)
OKLaboklab(59.86% 0.0033 -0.1809)
OKLCHoklch(59.86% 0.181 271.1)
XYZxyz(25.1935, 20.3735, 80.4308)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73EA #EAD15A
analogous
#5ABBEA #5A73EA #895AEA
triadic
#5A73EA #EA5A73 #73EA5A
tetradic
#5A73EA #EA5ABB #EAD15A #5AEA89
square
#5A73EA #EA5ABB #EAD15A #5AEA89
split-complementary
#5A73EA #EA895A #BBEA5A
monochromatic
#1732B3 #2445E3 #5A73EA #90A1F1 #C7CFF8

Accessibility & contrast

On white

4.14
#5A73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5A73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73EA#FFFFFF#000000##000000
##5A73EA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a73ea;
/* rgb */ color: rgb(90, 115, 234);
/* oklch */ color: oklch(59.9% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#959af1',
    500: '#5a73ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a73ea;
$custom-light: #959af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73ea",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 229.583,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.1809,
    "h": 271.1
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#5A73EA
secondary
#E9E1B6
accent
#B60CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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