#5F4CE5#5F4CE5

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

Color values

HEX#5F4CE5
RGBrgb(95, 76, 229)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(58.5%, 66.8%, 0%, 10.2%)
CIE-LABlab(43.15, 49.43, -75.07)
CIE-LCHlch(43.15, 89.88, 303.36°)
OKLaboklab(53.1% 0.0438 -0.2162)
OKLCHoklch(53.1% 0.221 281.4)
XYZxyz(21.4422, 13.2575, 75.5426)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CE5 #D2E54C
analogous
#4C86E5 #5F4CE5 #AC4CE5
triadic
#5F4CE5 #E55F4C #4CE55F
tetradic
#5F4CE5 #E54C86 #D2E54C #4CE5AC
square
#5F4CE5 #E54C86 #D2E54C #4CE5AC
split-complementary
#5F4CE5 #E5AC4C #86E54C
monochromatic
#28179F #361FD5 #5F4CE5 #8F81ED #BFB7F5

Accessibility & contrast

On white

5.75
#5F4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5F4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4CE5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CE5#FFFFFF#000000##FFFFFF
##5F4CE51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4ce5;
/* rgb */ color: rgb(95, 76, 229);
/* oklch */ color: oklch(53.1% 0.221 281.4);
Tailwind
colors: {
  custom: {
    50: '#9a80ee',
    500: '#5f4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ce5;
$custom-light: #9a80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ce5",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 247.451,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.22056,
    "h": 281.4
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#5F4CE5
secondary
#DDE4A9
accent
#F137DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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