#5F49CE#5F49CE

#5F49CE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.7% C 0.196 H 284.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5F49CE
RGBrgb(95, 73, 206)
HSLhsl(250, 58%, 55%)
HSVhsv(250, 65%, 81%)
CMYKcmyk(53.9%, 64.6%, 0%, 19.2%)
CIE-LABlab(40.66, 44.18, -65.98)
CIE-LCHlch(40.66, 79.40, 303.80°)
OKLaboklab(50.72% 0.0492 -0.1895)
OKLCHoklch(50.72% 0.196 284.6)
XYZxyz(18.2391, 11.6532, 59.6688)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49CE #B8CE49
analogous
#4975CE #5F49CE #A249CE
triadic
#5F49CE #CE5F49 #49CE5F
tetradic
#5F49CE #CE4975 #B8CE49 #49CEA2
square
#5F49CE #CE4975 #B8CE49 #49CEA2
split-complementary
#5F49CE #CEA249 #75CE49
monochromatic
#30217B #432EAC #5F49CE #8979DB #B4A9E8

Accessibility & contrast

On white

6.30
#5F49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5F49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49CE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49CE#FFFFFF#000000##FFFFFF
##5F49CE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#2F6A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f49ce;
/* rgb */ color: rgb(95, 73, 206);
/* oklch */ color: oklch(50.7% 0.196 284.6);
Tailwind
colors: {
  custom: {
    50: '#967dde',
    500: '#5f49ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f49ce;
$custom-light: #967dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49ce",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 249.925,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.19576,
    "h": 284.6
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#5F49CE
secondary
#CCD59D
accent
#E147C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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