#5A73F3#5A73F3

#5A73F3 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.5% C 0.193 H 271.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A73F3
RGBrgb(90, 115, 243)
HSLhsl(230, 86%, 65%)
HSVhsv(230, 63%, 95%)
CMYKcmyk(63%, 52.7%, 0%, 4.7%)
CIE-LABlab(52.84, 29.98, -67.19)
CIE-LCHlch(52.84, 73.57, 294.05°)
OKLaboklab(60.49% 0.004 -0.1929)
OKLCHoklch(60.49% 0.193 271.2)
XYZxyz(26.5194, 20.9039, 87.4140)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73F3 #F3DA5A
analogous
#5AC0F3 #5A73F3 #8D5AF3
triadic
#5A73F3 #F35A73 #73F35A
tetradic
#5A73F3 #F35AC0 #F3DA5A #5AF38D
square
#5A73F3 #F35AC0 #F3DA5A #5AF38D
split-complementary
#5A73F3 #F38D5A #C0F35A
monochromatic
#0E2CC4 #2143EF #5A73F3 #93A3F7 #CCD4FB

Accessibility & contrast

On white

4.05
#5A73F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5A73F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73F3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73F3#FFFFFF#000000##000000
##5A73F31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F7
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a73f3;
/* rgb */ color: rgb(90, 115, 243);
/* oklch */ color: oklch(60.5% 0.193 271.2);
Tailwind
colors: {
  custom: {
    50: '#979bf8',
    500: '#5a73f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a73f3;
$custom-light: #979bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73f3",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 230.196,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.1929,
    "h": 271.2
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#5A73F3
secondary
#EEE6BB
accent
#BE03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A73F3

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

Preview Lab → · Contrast checker → · Palette generator →

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