#5F49E1#5F49E1

#5F49E1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.219 H 282.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5F49E1
RGBrgb(95, 73, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 68%, 88%)
CMYKcmyk(57.8%, 67.6%, 0%, 11.8%)
CIE-LABlab(42.20, 49.88, -74.35)
CIE-LCHlch(42.20, 89.53, 303.86°)
OKLaboklab(52.32% 0.0468 -0.214)
OKLCHoklch(52.32% 0.219 282.3)
XYZxyz(20.6882, 12.6329, 72.5678)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49E1 #CBE149
analogous
#497FE1 #5F49E1 #AB49E1
triadic
#5F49E1 #E15F49 #49E15F
tetradic
#5F49E1 #E1497F #CBE149 #49E1AB
square
#5F49E1 #E1497F #CBE149 #49E1AB
split-complementary
#5F49E1 #E1AB49 #7FE149
monochromatic
#2B1997 #3A22CB #5F49E1 #8D7EEA #BBB2F2

Accessibility & contrast

On white

5.95
#5F49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5F49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49E1#FFFFFF#000000##FFFFFF
##5F49E11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#0D718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f49e1;
/* rgb */ color: rgb(95, 73, 225);
/* oklch */ color: oklch(52.3% 0.219 282.3);
Tailwind
colors: {
  custom: {
    50: '#997eec',
    500: '#5f49e1',
    950: '#000000',
  },
}
SCSS
$custom: #5f49e1;
$custom-light: #997eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49e1",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 248.684,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.21909,
    "h": 282.3
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#5F49E1
secondary
#D8E1A5
accent
#EE39D4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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