#5F50DA#5F50DA

#5F50DA is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.202 H 281.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5F50DA
RGBrgb(95, 80, 218)
HSLhsl(247, 65%, 58%)
HSVhsv(247, 63%, 85%)
CMYKcmyk(56.4%, 63.3%, 0%, 14.5%)
CIE-LABlab(43.11, 43.79, -68.88)
CIE-LCHlch(43.11, 81.62, 302.45°)
OKLaboklab(52.79% 0.0416 -0.198)
OKLCHoklch(52.79% 0.202 281.9)
XYZxyz(20.2389, 13.2309, 67.8034)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50DA #CBDA50
analogous
#5086DA #5F50DA #A450DA
triadic
#5F50DA #DA5F50 #50DA5F
tetradic
#5F50DA #DA5086 #CBDA50 #50DAA4
square
#5F50DA #DA5086 #CBDA50 #50DAA4
split-complementary
#5F50DA #DAA450 #86DA50
monochromatic
#2B1F91 #3A29C3 #5F50DA #8D83E5 #BBB5EF

Accessibility & contrast

On white

5.76
#5F50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5F50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50DA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50DA#FFFFFF#000000##FFFFFF
##5F50DA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#1D728E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f50da;
/* rgb */ color: rgb(95, 80, 218);
/* oklch */ color: oklch(52.8% 0.202 281.9);
Tailwind
colors: {
  custom: {
    50: '#9882e6',
    500: '#5f50da',
    950: '#000000',
  },
}
SCSS
$custom: #5f50da;
$custom-light: #9882e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50da",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 246.522,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.20231,
    "h": 281.9
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#5F50DA
secondary
#D8DEA8
accent
#E840D6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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