#5F4DE0#5F4DE0

#5F4DE0 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.213 H 281.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5F4DE0
RGBrgb(95, 77, 224)
HSLhsl(247, 70%, 59%)
HSVhsv(247, 66%, 88%)
CMYKcmyk(57.6%, 65.6%, 0%, 12.2%)
CIE-LABlab(42.95, 47.35, -72.57)
CIE-LCHlch(42.95, 86.65, 303.12°)
OKLaboklab(52.82% 0.0436 -0.2088)
OKLCHoklch(52.82% 0.213 281.8)
XYZxyz(20.8235, 13.1211, 71.9419)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DE0 #CEE04D
analogous
#4D85E0 #5F4DE0 #A94DE0
triadic
#5F4DE0 #E05F4D #4DE05F
tetradic
#5F4DE0 #E04D85 #CEE04D #4DE0A9
square
#5F4DE0 #E04D85 #CEE04D #4DE0A9
split-complementary
#5F4DE0 #E0A94D #85E04D
monochromatic
#2A1A98 #3824CC #5F4DE0 #8E81E9 #BDB5F2

Accessibility & contrast

On white

5.79
#5F4DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5F4DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DE0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DE0#FFFFFF#000000##FFFFFF
##5F4DE01.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#0F7390
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4de0;
/* rgb */ color: rgb(95, 77, 224);
/* oklch */ color: oklch(52.8% 0.213 281.8);
Tailwind
colors: {
  custom: {
    50: '#9980eb',
    500: '#5f4de0',
    950: '#000000',
  },
}
SCSS
$custom: #5f4de0;
$custom-light: #9980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4de0",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 247.347,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.21332,
    "h": 281.8
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#5F4DE0
secondary
#DAE1A8
accent
#ED3BD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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