#5F4FE0#5F4FE0

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

Color values

HEX#5F4FE0
RGBrgb(95, 79, 224)
HSLhsl(247, 70%, 59%)
HSVhsv(247, 65%, 88%)
CMYKcmyk(57.6%, 64.7%, 0%, 12.2%)
CIE-LABlab(43.37, 46.21, -71.88)
CIE-LCHlch(43.37, 85.45, 302.74°)
OKLaboklab(53.13% 0.0419 -0.2068)
OKLCHoklch(53.13% 0.211 281.4)
XYZxyz(20.9656, 13.4053, 71.9892)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FE0 #D0E04F
analogous
#4F88E0 #5F4FE0 #A84FE0
triadic
#5F4FE0 #E05F4F #4FE05F
tetradic
#5F4FE0 #E04F88 #D0E04F #4FE0A8
square
#5F4FE0 #E04F88 #D0E04F #4FE0A8
split-complementary
#5F4FE0 #E0A84F #88E04F
monochromatic
#291B9A #3724CE #5F4FE0 #8E83E9 #BEB7F2

Accessibility & contrast

On white

5.70
#5F4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FE0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FE0#FFFFFF#000000##FFFFFF
##5F4FE01.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#0E7491
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4fe0;
/* rgb */ color: rgb(95, 79, 224);
/* oklch */ color: oklch(53.1% 0.211 281.4);
Tailwind
colors: {
  custom: {
    50: '#9981eb',
    500: '#5f4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fe0;
$custom-light: #9981eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fe0",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 246.621,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.21099,
    "h": 281.4
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#5F4FE0
secondary
#DBE2A9
accent
#ED3BD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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