#5A73F9#5A73F9

#5A73F9 is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 60.9% C 0.201 H 271.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5A73F9
RGBrgb(90, 115, 249)
HSLhsl(231, 93%, 66%)
HSVhsv(231, 64%, 98%)
CMYKcmyk(63.9%, 53.8%, 0%, 2.4%)
CIE-LABlab(53.25, 31.99, -69.87)
CIE-LCHlch(53.25, 76.84, 294.60°)
OKLaboklab(60.92% 0.0043 -0.2008)
OKLCHoklch(60.92% 0.201 271.2)
XYZxyz(27.4403, 21.2722, 92.2640)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73F9 #F9E05A
analogous
#5AC3F9 #5A73F9 #915AF9
triadic
#5A73F9 #F95A73 #73F95A
tetradic
#5A73F9 #F95AC3 #F9E05A #5AF991
square
#5A73F9 #F95AC3 #F9E05A #5AF991
split-complementary
#5A73F9 #F9915A #C3F95A
monochromatic
#0827D1 #1F41F7 #5A73F9 #95A5FB #D0D7FD

Accessibility & contrast

On white

4.00
#5A73F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5A73F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73F9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73F9#FFFFFF#000000##000000
##5A73F91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0687FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a73f9;
/* rgb */ color: rgb(90, 115, 249);
/* oklch */ color: oklch(60.9% 0.201 271.2);
Tailwind
colors: {
  custom: {
    50: '#989bfc',
    500: '#5a73f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a73f9;
$custom-light: #989bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73f9",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 230.566,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.20081,
    "h": 271.2
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#5A73F9
secondary
#F1E9BE
accent
#C100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A73F9

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

Preview Lab → · Contrast checker → · Palette generator →

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