#5F4CE4#5F4CE4

#5F4CE4 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.0% C 0.219 H 281.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F4CE4
RGBrgb(95, 76, 228)
HSLhsl(248, 74%, 60%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58.3%, 66.7%, 0%, 10.6%)
CIE-LABlab(43.07, 49.12, -74.64)
CIE-LCHlch(43.07, 89.36, 303.35°)
OKLaboklab(53.01% 0.0439 -0.2149)
OKLCHoklch(53.01% 0.219 281.5)
XYZxyz(21.3030, 13.2018, 74.8094)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CE4 #D1E44C
analogous
#4C85E4 #5F4CE4 #AB4CE4
triadic
#5F4CE4 #E45F4C #4CE45F
tetradic
#5F4CE4 #E44C85 #D1E44C #4CE4AB
square
#5F4CE4 #E44C85 #D1E44C #4CE4AB
split-complementary
#5F4CE4 #E4AB4C #85E44C
monochromatic
#29189E #3620D3 #5F4CE4 #8F81EC #BEB6F4

Accessibility & contrast

On white

5.77
#5F4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4CE4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CE4#FFFFFF#000000##FFFFFF
##5F4CE41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4ce4;
/* rgb */ color: rgb(95, 76, 228);
/* oklch */ color: oklch(53.0% 0.219 281.5);
Tailwind
colors: {
  custom: {
    50: '#9980ee',
    500: '#5f4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ce4;
$custom-light: #9980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ce4",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 247.5,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.21935,
    "h": 281.5
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#5F4CE4
secondary
#DCE3A8
accent
#F037D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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