#5F4BCF#5F4BCF

#5F4BCF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.1% C 0.195 H 284.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F4BCF
RGBrgb(95, 75, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 64%, 81%)
CMYKcmyk(54.1%, 63.8%, 0%, 18.8%)
CIE-LABlab(41.17, 43.33, -65.73)
CIE-LCHlch(41.17, 78.72, 303.39°)
OKLaboklab(51.11% 0.0472 -0.1887)
OKLCHoklch(51.11% 0.195 284)
XYZxyz(18.4945, 11.9690, 60.3551)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BCF #BBCF4B
analogous
#4B79CF #5F4BCF #A14BCF
triadic
#5F4BCF #CF5F4B #4BCF5F
tetradic
#5F4BCF #CF4B79 #BBCF4B #4BCFA1
square
#5F4BCF #CF4B79 #BBCF4B #4BCFA1
split-complementary
#5F4BCF #CFA14B #79CF4B
monochromatic
#30227E #422EAE #5F4BCF #8A7BDC #B5ACE9

Accessibility & contrast

On white

6.19
#5F4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BCF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BCF#FFFFFF#000000##FFFFFF
##5F4BCF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#2D6C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f4bcf;
/* rgb */ color: rgb(95, 75, 207);
/* oklch */ color: oklch(51.1% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#967edf',
    500: '#5f4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bcf;
$custom-light: #967edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bcf",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 249.091,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51113,
    "c": 0.19456,
    "h": 284
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#5F4BCF
secondary
#CED69F
accent
#E147CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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