#5F4BCD#5F4BCD

#5F4BCD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 51.0% C 0.192 H 284.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5F4BCD
RGBrgb(95, 75, 205)
HSLhsl(249, 57%, 55%)
HSVhsv(249, 63%, 80%)
CMYKcmyk(53.7%, 63.4%, 0%, 19.6%)
CIE-LABlab(41.01, 42.72, -64.83)
CIE-LCHlch(41.01, 77.64, 303.39°)
OKLaboklab(50.95% 0.0474 -0.1861)
OKLCHoklch(50.95% 0.192 284.3)
XYZxyz(18.2515, 11.8718, 59.0755)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BCD #B9CD4B
analogous
#4B78CD #5F4BCD #A04BCD
triadic
#5F4BCD #CD5F4B #4BCD5F
tetradic
#5F4BCD #CD4B78 #B9CD4B #4BCDA0
square
#5F4BCD #CD4B78 #B9CD4B #4BCDA0
split-complementary
#5F4BCD #CDA04B #78CD4B
monochromatic
#30227B #4330AB #5F4BCD #8A7BDA #B4ABE8

Accessibility & contrast

On white

6.22
#5F4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5F4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BCD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BCD#FFFFFF#000000##FFFFFF
##5F4BCD1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#306B85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f4bcd;
/* rgb */ color: rgb(95, 75, 205);
/* oklch */ color: oklch(51.0% 0.192 284.3);
Tailwind
colors: {
  custom: {
    50: '#967edd',
    500: '#5f4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bcd;
$custom-light: #967edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bcd",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 249.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.19204,
    "h": 284.3
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#5F4BCD
secondary
#CDD59F
accent
#E048C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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