#5A73DF#5A73DF

#5A73DF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.166 H 270.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5A73DF
RGBrgb(90, 115, 223)
HSLhsl(229, 68%, 61%)
HSVhsv(229, 60%, 87%)
CMYKcmyk(59.6%, 48.4%, 0%, 12.5%)
CIE-LABlab(51.57, 23.31, -58.04)
CIE-LCHlch(51.57, 62.55, 291.88°)
OKLaboklab(59.11% 0.0022 -0.166)
OKLCHoklch(59.11% 0.166 270.8)
XYZxyz(23.6620, 19.7609, 72.3650)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73DF #DFC65A
analogous
#5AB6DF #5A73DF #845ADF
triadic
#5A73DF #DF5A73 #73DF5A
tetradic
#5A73DF #DF5AB6 #DFC65A #5ADF84
square
#5A73DF #DF5AB6 #DFC65A #5ADF84
split-complementary
#5A73DF #DF845A #B6DF5A
monochromatic
#1F37A0 #2949D3 #5A73DF #8D9EE9 #C1CAF3

Accessibility & contrast

On white

4.24
#5A73DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5A73DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73DF#FFFFFF#000000##000000
##5A73DF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#2375DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a73df;
/* rgb */ color: rgb(90, 115, 223);
/* oklch */ color: oklch(59.1% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#949aea',
    500: '#5a73df',
    950: '#000000',
  },
}
SCSS
$custom: #5a73df;
$custom-light: #949aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73df",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 228.722,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59113,
    "c": 0.16598,
    "h": 270.8
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#5A73DF
secondary
#E3DAB2
accent
#AD16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A73DF

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

Preview Lab → · Contrast checker → · Palette generator →

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