#5D50DB#5D50DB

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

Color values

HEX#5D50DB
RGBrgb(93, 80, 219)
HSLhsl(246, 66%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(57.5%, 63.5%, 0%, 14.1%)
CIE-LABlab(43.03, 43.77, -69.58)
CIE-LCHlch(43.03, 82.21, 302.17°)
OKLaboklab(52.72% 0.039 -0.2001)
OKLCHoklch(52.72% 0.204 281)
XYZxyz(20.1650, 13.1776, 68.4850)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50DB #CEDB50
analogous
#5088DB #5D50DB #A350DB
triadic
#5D50DB #DB5D50 #50DB5D
tetradic
#5D50DB #DB5088 #CEDB50 #50DBA3
square
#5D50DB #DB5088 #CEDB50 #50DBA3
split-complementary
#5D50DB #DBA350 #88DB50
monochromatic
#291E92 #3729C5 #5D50DB #8C83E5 #BBB6F0

Accessibility & contrast

On white

5.78
#5D50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D50DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50DB#FFFFFF#000000##FFFFFF
##5D50DB1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#0F738E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d50db;
/* rgb */ color: rgb(93, 80, 219);
/* oklch */ color: oklch(52.7% 0.204 281.0);
Tailwind
colors: {
  custom: {
    50: '#9782e7',
    500: '#5d50db',
    950: '#000000',
  },
}
SCSS
$custom: #5d50db;
$custom-light: #9782e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50db",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 245.612,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.20388,
    "h": 281
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#5D50DB
secondary
#DADFA8
accent
#E93FD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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