#5A73DB#5A73DB

#5A73DB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.160 H 270.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5A73DB
RGBrgb(90, 115, 219)
HSLhsl(228, 64%, 61%)
HSVhsv(228, 59%, 86%)
CMYKcmyk(58.9%, 47.5%, 0%, 14.1%)
CIE-LABlab(51.32, 21.98, -56.18)
CIE-LCHlch(51.32, 60.32, 291.37°)
OKLaboklab(58.85% 0.0017 -0.1605)
OKLCHoklch(58.85% 0.16 270.6)
XYZxyz(23.1291, 19.5478, 69.5584)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73DB #DBC25A
analogous
#5AB3DB #5A73DB #815ADB
triadic
#5A73DB #DB5A73 #73DB5A
tetradic
#5A73DB #DB5AB3 #DBC25A #5ADB81
square
#5A73DB #DB5AB3 #DBC25A #5ADB81
split-complementary
#5A73DB #DB815A #B3DB5A
monochromatic
#213999 #2C4BCB #5A73DB #8C9EE6 #BEC8F1

Accessibility & contrast

On white

4.28
#5A73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5A73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73DB#FFFFFF#000000##000000
##5A73DB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a73db;
/* rgb */ color: rgb(90, 115, 219);
/* oklch */ color: oklch(58.8% 0.160 270.6);
Tailwind
colors: {
  custom: {
    50: '#939ae7',
    500: '#5a73db',
    950: '#000000',
  },
}
SCSS
$custom: #5a73db;
$custom-light: #939ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73db",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 228.372,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.16049,
    "h": 270.6
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#5A73DB
secondary
#E1D7B0
accent
#A91ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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