#5F50DB#5F50DB

#5F50DB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.204 H 281.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F50DB
RGBrgb(95, 80, 219)
HSLhsl(246, 66%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(56.6%, 63.5%, 0%, 14.1%)
CIE-LABlab(43.19, 44.10, -69.32)
CIE-LCHlch(43.19, 82.16, 302.46°)
OKLaboklab(52.87% 0.0415 -0.1993)
OKLCHoklch(52.87% 0.204 281.8)
XYZxyz(20.3702, 13.2834, 68.4946)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50DB #CCDB50
analogous
#5086DB #5F50DB #A450DB
triadic
#5F50DB #DB5F50 #50DB5F
tetradic
#5F50DB #DB5086 #CCDB50 #50DBA4
square
#5F50DB #DB5086 #CCDB50 #50DBA4
split-complementary
#5F50DB #DBA450 #86DB50
monochromatic
#2B1E92 #3929C5 #5F50DB #8D83E5 #BCB6F0

Accessibility & contrast

On white

5.74
#5F50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5F50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50DB#FFFFFF#000000##FFFFFF
##5F50DB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#1B738E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f50db;
/* rgb */ color: rgb(95, 80, 219);
/* oklch */ color: oklch(52.9% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#9882e7',
    500: '#5f50db',
    950: '#000000',
  },
}
SCSS
$custom: #5f50db;
$custom-light: #9882e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50db",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 246.475,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.20356,
    "h": 281.8
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#5F50DB
secondary
#D9DFA8
accent
#E93FD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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