#5A73EB#5A73EB

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

Color values

HEX#5A73EB
RGBrgb(90, 115, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 62%, 92%)
CMYKcmyk(61.7%, 51.1%, 0%, 7.8%)
CIE-LABlab(52.32, 27.31, -63.57)
CIE-LCHlch(52.32, 69.18, 293.25°)
OKLaboklab(59.93% 0.0034 -0.1822)
OKLCHoklch(59.93% 0.182 271.1)
XYZxyz(25.3376, 20.4311, 81.1895)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73EB #EBD25A
analogous
#5ABBEB #5A73EB #895AEB
triadic
#5A73EB #EB5A73 #73EB5A
tetradic
#5A73EB #EB5ABB #EBD25A #5AEB89
square
#5A73EB #EB5ABB #EBD25A #5AEB89
split-complementary
#5A73EB #EB895A #BBEB5A
monochromatic
#1631B5 #2345E4 #5A73EB #91A1F2 #C7D0F8

Accessibility & contrast

On white

4.13
#5A73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5A73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73EB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73EB#FFFFFF#000000##000000
##5A73EB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a73eb;
/* rgb */ color: rgb(90, 115, 235);
/* oklch */ color: oklch(59.9% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#969af2',
    500: '#5a73eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a73eb;
$custom-light: #969af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73eb",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 229.655,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.18224,
    "h": 271.1
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#5A73EB
secondary
#EAE1B7
accent
#B70BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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