#5A50BD#5A50BD

#5A50BD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.165 H 282.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5A50BD
RGBrgb(90, 80, 189)
HSLhsl(246, 45%, 53%)
HSVhsv(246, 58%, 74%)
CMYKcmyk(52.4%, 57.7%, 0%, 25.9%)
CIE-LABlab(40.55, 33.87, -56.30)
CIE-LCHlch(40.55, 65.70, 301.03°)
OKLaboklab(50.14% 0.0366 -0.1612)
OKLCHoklch(50.14% 0.165 282.8)
XYZxyz(16.2676, 11.5842, 49.5130)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50BD #B3BD50
analogous
#507CBD #5A50BD #9150BD
triadic
#5A50BD #BD5A50 #50BD5A
tetradic
#5A50BD #BD507C #B3BD50 #50BD91
square
#5A50BD #BD507C #B3BD50 #50BD91
split-complementary
#5A50BD #BD9150 #7CBD50
monochromatic
#2E286A #423997 #5A50BD #847CCE #AEA9DF

Accessibility & contrast

On white

6.33
#5A50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5A50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50BD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50BD#FFFFFF#000000##FFFFFF
##5A50BD1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#31697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a50bd;
/* rgb */ color: rgb(90, 80, 189);
/* oklch */ color: oklch(50.1% 0.165 282.8);
Tailwind
colors: {
  custom: {
    50: '#9081d2',
    500: '#5a50bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a50bd;
$custom-light: #9081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50bd",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 245.505,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.16527,
    "h": 282.8
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#5A50BD
secondary
#C8CC9D
accent
#D553C9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5A50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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