#5A50DE#5A50DE

#5A50DE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.208 H 279.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5A50DE
RGBrgb(90, 80, 222)
HSLhsl(244, 68%, 59%)
HSVhsv(244, 64%, 87%)
CMYKcmyk(59.5%, 64%, 0%, 12.9%)
CIE-LABlab(43.04, 44.23, -71.29)
CIE-LCHlch(43.04, 83.90, 301.82°)
OKLaboklab(52.74% 0.0349 -0.2052)
OKLCHoklch(52.74% 0.208 279.7)
XYZxyz(20.2657, 13.1834, 70.5698)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50DE #D4DE50
analogous
#508DDE #5A50DE #A150DE
triadic
#5A50DE #DE5A50 #50DE5A
tetradic
#5A50DE #DE508D #D4DE50 #50DEA1
square
#5A50DE #DE508D #D4DE50 #50DEA1
split-complementary
#5A50DE #DEA150 #8DDE50
monochromatic
#251C97 #3226CB #5A50DE #8B83E8 #BBB7F1

Accessibility & contrast

On white

5.77
#5A50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5A50DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50DE#FFFFFF#000000##FFFFFF
##5A50DE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a50de;
/* rgb */ color: rgb(90, 80, 222);
/* oklch */ color: oklch(52.7% 0.208 279.7);
Tailwind
colors: {
  custom: {
    50: '#9682e9',
    500: '#5a50de',
    950: '#000000',
  },
}
SCSS
$custom: #5a50de;
$custom-light: #9682e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50de",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 244.225,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.20817,
    "h": 279.7
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#5A50DE
secondary
#DDE1A9
accent
#EB3DDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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