#5A73ED#5A73ED

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

Color values

HEX#5A73ED
RGBrgb(90, 115, 237)
HSLhsl(230, 80%, 64%)
HSVhsv(230, 62%, 93%)
CMYKcmyk(62%, 51.5%, 0%, 7.1%)
CIE-LABlab(52.45, 27.97, -64.47)
CIE-LCHlch(52.45, 70.28, 293.46°)
OKLaboklab(60.07% 0.0036 -0.1849)
OKLCHoklch(60.07% 0.185 271.1)
XYZxyz(25.6281, 20.5474, 82.7198)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73ED #EDD45A
analogous
#5ABDED #5A73ED #8B5AED
triadic
#5A73ED #ED5A73 #73ED5A
tetradic
#5A73ED #ED5ABD #EDD45A #5AED8B
square
#5A73ED #ED5ABD #EDD45A #5AED8B
split-complementary
#5A73ED #ED8B5A #BDED5A
monochromatic
#1430B8 #2344E7 #5A73ED #91A2F3 #C8D1F9

Accessibility & contrast

On white

4.11
#5A73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73ED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73ED#FFFFFF#000000##000000
##5A73ED1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a73ed;
/* rgb */ color: rgb(90, 115, 237);
/* oklch */ color: oklch(60.1% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5a73ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a73ed;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73ed",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 229.796,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.18492,
    "h": 271.1
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#5A73ED
secondary
#EBE2B8
accent
#B909DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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