#5A50F3#5A50F3

#5A50F3 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.234 H 278.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5A50F3
RGBrgb(90, 80, 243)
HSLhsl(244, 87%, 63%)
HSVhsv(244, 67%, 95%)
CMYKcmyk(63%, 67.1%, 0%, 4.7%)
CIE-LABlab(44.77, 50.78, -80.33)
CIE-LCHlch(44.77, 95.03, 302.30°)
OKLaboklab(54.53% 0.0326 -0.2317)
OKLCHoklch(54.53% 0.234 278)
XYZxyz(23.2576, 14.3802, 86.3267)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50F3 #E9F350
analogous
#5097F3 #5A50F3 #AB50F3
triadic
#5A50F3 #F35A50 #50F35A
tetradic
#5A50F3 #F35097 #E9F350 #50F3AB
square
#5A50F3 #F35097 #E9F350 #50F3AB
split-complementary
#5A50F3 #F3AB50 #97F350
monochromatic
#180DBC #2417EF #5A50F3 #9089F7 #C6C3FB

Accessibility & contrast

On white

5.42
#5A50F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5A50F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50F3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50F3#FFFFFF#000000##FFFFFF
##5A50F31.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0063F0
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a50f3;
/* rgb */ color: rgb(90, 80, 243);
/* oklch */ color: oklch(54.5% 0.234 278.0);
Tailwind
colors: {
  custom: {
    50: '#9982f8',
    500: '#5a50f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a50f3;
$custom-light: #9982f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50f3",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 243.681,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.23399,
    "h": 278
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#5A50F3
secondary
#E9ECB2
accent
#E402D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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