#5A50D4#5A50D4

#5A50D4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.195 H 280.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5A50D4
RGBrgb(90, 80, 212)
HSLhsl(245, 61%, 57%)
HSVhsv(245, 62%, 83%)
CMYKcmyk(57.5%, 62.3%, 0%, 16.9%)
CIE-LABlab(42.25, 41.09, -66.86)
CIE-LCHlch(42.25, 78.47, 301.58°)
OKLaboklab(51.92% 0.0357 -0.1922)
OKLCHoklch(51.92% 0.195 280.5)
XYZxyz(18.9650, 12.6632, 63.7195)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50D4 #CAD450
analogous
#5088D4 #5A50D4 #9C50D4
triadic
#5A50D4 #D45A50 #50D45A
tetradic
#5A50D4 #D45088 #CAD450 #50D49C
square
#5A50D4 #D45088 #CAD450 #50D49C
split-complementary
#5A50D4 #D49C50 #88D450
monochromatic
#292188 #382EB9 #5A50D4 #8881E0 #B7B2EC

Accessibility & contrast

On white

5.94
#5A50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5A50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50D4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50D4#FFFFFF#000000##FFFFFF
##5A50D41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#0E718A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a50d4;
/* rgb */ color: rgb(90, 80, 212);
/* oklch */ color: oklch(51.9% 0.195 280.5);
Tailwind
colors: {
  custom: {
    50: '#9482e2',
    500: '#5a50d4',
    950: '#000000',
  },
}
SCSS
$custom: #5a50d4;
$custom-light: #9482e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50d4",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 244.545,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.19548,
    "h": 280.5
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#5A50D4
secondary
#D7DBA5
accent
#E444D8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5A50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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