#5F4DDE#5F4DDE

#5F4DDE is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.211 H 282.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F4DDE
RGBrgb(95, 77, 222)
HSLhsl(247, 69%, 59%)
HSVhsv(247, 65%, 87%)
CMYKcmyk(57.2%, 65.3%, 0%, 12.9%)
CIE-LABlab(42.78, 46.74, -71.69)
CIE-LCHlch(42.78, 85.58, 303.10°)
OKLaboklab(52.65% 0.0438 -0.2063)
OKLCHoklch(52.65% 0.211 282)
XYZxyz(20.5539, 13.0132, 70.5218)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DDE #CCDE4D
analogous
#4D83DE #5F4DDE #A74DDE
triadic
#5F4DDE #DE5F4D #4DDE5F
tetradic
#5F4DDE #DE4D83 #CCDE4D #4DDEA7
square
#5F4DDE #DE4D83 #CCDE4D #4DDEA7
split-complementary
#5F4DDE #DEA74D #83DE4D
monochromatic
#2B1C95 #3925C9 #5F4DDE #8D81E8 #BCB4F1

Accessibility & contrast

On white

5.83
#5F4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DDE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DDE#FFFFFF#000000##FFFFFF
##5F4DDE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#15728F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4dde;
/* rgb */ color: rgb(95, 77, 222);
/* oklch */ color: oklch(52.7% 0.211 282.0);
Tailwind
colors: {
  custom: {
    50: '#9880e9',
    500: '#5f4dde',
    950: '#000000',
  },
}
SCSS
$custom: #5f4dde;
$custom-light: #9880e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4dde",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 247.448,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.21086,
    "h": 282
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#5F4DDE
secondary
#D9E0A7
accent
#EC3CD6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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