#5A73F2#5A73F2

#5A73F2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.192 H 271.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A73F2
RGBrgb(90, 115, 242)
HSLhsl(230, 85%, 65%)
HSVhsv(230, 63%, 95%)
CMYKcmyk(62.8%, 52.5%, 0%, 5.1%)
CIE-LABlab(52.78, 29.65, -66.74)
CIE-LCHlch(52.78, 73.02, 293.95°)
OKLaboklab(60.42% 0.0039 -0.1915)
OKLCHoklch(60.42% 0.192 271.2)
XYZxyz(26.3688, 20.8436, 86.6208)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A73F2 #F2D95A
analogous
#5ABFF2 #5A73F2 #8D5AF2
triadic
#5A73F2 #F25A73 #73F25A
tetradic
#5A73F2 #F25ABF #F2D95A #5AF28D
square
#5A73F2 #F25ABF #F2D95A #5AF28D
split-complementary
#5A73F2 #F28D5A #BFF25A
monochromatic
#0F2DC2 #2143EE #5A73F2 #93A3F6 #CBD3FB

Accessibility & contrast

On white

4.06
#5A73F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5A73F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A73F2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A73F2#FFFFFF#000000##000000
##5A73F21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F6
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a73f2;
/* rgb */ color: rgb(90, 115, 242);
/* oklch */ color: oklch(60.4% 0.192 271.2);
Tailwind
colors: {
  custom: {
    50: '#979bf7',
    500: '#5a73f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a73f2;
$custom-light: #979bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a73f2",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 230.132,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.19158,
    "h": 271.2
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#5A73F2
secondary
#EEE5BA
accent
#BD04E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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