#5F4DE4#5F4DE4

#5F4DE4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.2% C 0.218 H 281.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5F4DE4
RGBrgb(95, 77, 228)
HSLhsl(247, 74%, 60%)
HSVhsv(247, 66%, 89%)
CMYKcmyk(58.3%, 66.2%, 0%, 10.6%)
CIE-LABlab(43.27, 48.56, -74.31)
CIE-LCHlch(43.27, 88.77, 303.17°)
OKLaboklab(53.16% 0.0431 -0.2139)
OKLCHoklch(53.16% 0.218 281.4)
XYZxyz(21.3724, 13.3406, 74.8325)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DE4 #D2E44D
analogous
#4D87E4 #5F4DE4 #AA4DE4
triadic
#5F4DE4 #E45F4D #4DE45F
tetradic
#5F4DE4 #E44D87 #D2E44D #4DE4AA
square
#5F4DE4 #E44D87 #D2E44D #4DE4AA
split-complementary
#5F4DE4 #E4AA4D #87E44D
monochromatic
#28189F #3620D4 #5F4DE4 #8F82EC #BFB7F4

Accessibility & contrast

On white

5.72
#5F4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F4DE4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DE4#FFFFFF#000000##FFFFFF
##5F4DE41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4de4;
/* rgb */ color: rgb(95, 77, 228);
/* oklch */ color: oklch(53.2% 0.218 281.4);
Tailwind
colors: {
  custom: {
    50: '#9980ee',
    500: '#5f4de4',
    950: '#000000',
  },
}
SCSS
$custom: #5f4de4;
$custom-light: #9980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4de4",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 247.152,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.21821,
    "h": 281.4
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#5F4DE4
secondary
#DDE4A9
accent
#F037DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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