#5F50DC#5F50DC

#5F50DC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.205 H 281.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5F50DC
RGBrgb(95, 80, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(56.8%, 63.6%, 0%, 13.7%)
CIE-LABlab(43.27, 44.41, -69.76)
CIE-LCHlch(43.27, 82.70, 302.48°)
OKLaboklab(52.96% 0.0414 -0.2006)
OKLCHoklch(52.96% 0.205 281.7)
XYZxyz(20.5022, 13.3362, 69.1901)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50DC #CDDC50
analogous
#5087DC #5F50DC #A550DC
triadic
#5F50DC #DC5F50 #50DC5F
tetradic
#5F50DC #DC5087 #CDDC50 #50DCA5
square
#5F50DC #DC5087 #CDDC50 #50DCA5
split-complementary
#5F50DC #DCA550 #87DC50
monochromatic
#2A1E94 #3928C7 #5F50DC #8E83E6 #BCB6F0

Accessibility & contrast

On white

5.73
#5F50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5F50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50DC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50DC#FFFFFF#000000##FFFFFF
##5F50DC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#19738F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f50dc;
/* rgb */ color: rgb(95, 80, 220);
/* oklch */ color: oklch(53.0% 0.205 281.7);
Tailwind
colors: {
  custom: {
    50: '#9882e8',
    500: '#5f50dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f50dc;
$custom-light: #9882e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50dc",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 246.429,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.20482,
    "h": 281.7
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#5F50DC
secondary
#DADFA8
accent
#EA3ED7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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