#5F4FE1#5F4FE1

#5F4FE1 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.212 H 281.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F4FE1
RGBrgb(95, 79, 225)
HSLhsl(247, 71%, 60%)
HSVhsv(247, 65%, 88%)
CMYKcmyk(57.8%, 64.9%, 0%, 11.8%)
CIE-LABlab(43.45, 46.52, -72.31)
CIE-LCHlch(43.45, 85.98, 302.75°)
OKLaboklab(53.21% 0.0418 -0.2081)
OKLCHoklch(53.21% 0.212 281.3)
XYZxyz(21.1017, 13.4597, 72.7056)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FE1 #D1E14F
analogous
#4F88E1 #5F4FE1 #A84FE1
triadic
#5F4FE1 #E15F4F #4FE15F
tetradic
#5F4FE1 #E14F88 #D1E14F #4FE1A8
square
#5F4FE1 #E14F88 #D1E14F #4FE1A8
split-complementary
#5F4FE1 #E1A84F #88E14F
monochromatic
#291A9B #3623CF #5F4FE1 #8F83EA #BEB8F3

Accessibility & contrast

On white

5.69
#5F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FE1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FE1#FFFFFF#000000##FFFFFF
##5F4FE11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#0A7491
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4fe1;
/* rgb */ color: rgb(95, 79, 225);
/* oklch */ color: oklch(53.2% 0.212 281.3);
Tailwind
colors: {
  custom: {
    50: '#9981eb',
    500: '#5f4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fe1;
$custom-light: #9981eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fe1",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 246.575,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.21223,
    "h": 281.3
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#5F4FE1
secondary
#DCE2AA
accent
#EE3ADA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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