#5A50BC#5A50BC

#5A50BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.164 H 282.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5A50BC
RGBrgb(90, 80, 188)
HSLhsl(246, 45%, 53%)
HSVhsv(246, 57%, 74%)
CMYKcmyk(52.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(40.48, 33.56, -55.83)
CIE-LCHlch(40.48, 65.14, 301.01°)
OKLaboklab(50.06% 0.0366 -0.1598)
OKLCHoklch(50.06% 0.164 282.9)
XYZxyz(16.1595, 11.5409, 48.9433)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50BC #B2BC50
analogous
#507CBC #5A50BC #9050BC
triadic
#5A50BC #BC5A50 #50BC5A
tetradic
#5A50BC #BC507C #B2BC50 #50BC90
square
#5A50BC #BC507C #B2BC50 #50BC90
split-complementary
#5A50BC #BC9050 #7CBC50
monochromatic
#2E2869 #423996 #5A50BC #847CCD #ADA9DE

Accessibility & contrast

On white

6.35
#5A50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5A50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50BC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50BC#FFFFFF#000000##FFFFFF
##5A50BC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#32697E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a50bc;
/* rgb */ color: rgb(90, 80, 188);
/* oklch */ color: oklch(50.1% 0.164 282.9);
Tailwind
colors: {
  custom: {
    50: '#9081d1',
    500: '#5a50bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a50bc;
$custom-light: #9081d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50bc",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 245.556,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.16393,
    "h": 282.9
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5A50BC
secondary
#C7CB9C
accent
#D453C8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5A50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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