#5F4FDF#5F4FDF

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

Color values

HEX#5F4FDF
RGBrgb(95, 79, 223)
HSLhsl(247, 69%, 59%)
HSVhsv(247, 65%, 87%)
CMYKcmyk(57.4%, 64.6%, 0%, 12.5%)
CIE-LABlab(43.29, 45.90, -71.44)
CIE-LCHlch(43.29, 84.91, 302.72°)
OKLaboklab(53.05% 0.042 -0.2055)
OKLCHoklch(53.05% 0.21 281.5)
XYZxyz(20.8304, 13.3512, 71.2771)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FDF #CFDF4F
analogous
#4F87DF #5F4FDF #A74FDF
triadic
#5F4FDF #DF5F4F #4FDF5F
tetradic
#5F4FDF #DF4F87 #CFDF4F #4FDFA7
square
#5F4FDF #DF4F87 #CFDF4F #4FDFA7
split-complementary
#5F4FDF #DFA74F #87DF4F
monochromatic
#291C98 #3825CC #5F4FDF #8E83E8 #BDB7F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4FDF#FFFFFF#000000##FFFFFF
##5F4FDF1.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)
#006BE4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#117390
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4fdf;
/* rgb */ color: rgb(95, 79, 223);
/* oklch */ color: oklch(53.0% 0.210 281.5);
Tailwind
colors: {
  custom: {
    50: '#9881ea',
    500: '#5f4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fdf;
$custom-light: #9881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fdf",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 246.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.20975,
    "h": 281.5
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#5F4FDF
secondary
#DBE1A9
accent
#EC3CD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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