#5F49D5#5F49D5

#5F49D5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.204 H 283.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F49D5
RGBrgb(95, 73, 213)
HSLhsl(249, 63%, 56%)
HSVhsv(249, 66%, 84%)
CMYKcmyk(55.4%, 65.7%, 0%, 16.5%)
CIE-LABlab(41.22, 46.28, -69.10)
CIE-LCHlch(41.22, 83.17, 303.81°)
OKLaboklab(51.3% 0.0484 -0.1986)
OKLCHoklch(51.3% 0.204 283.7)
XYZxyz(19.1084, 12.0009, 64.2474)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49D5 #BFD549
analogous
#4979D5 #5F49D5 #A549D5
triadic
#5F49D5 #D55F49 #49D55F
tetradic
#5F49D5 #D54979 #BFD549 #49D5A5
square
#5F49D5 #D54979 #BFD549 #49D5A5
split-complementary
#5F49D5 #D5A549 #79D549
monochromatic
#2F1F85 #402AB7 #5F49D5 #8B7BE0 #B6ACEC

Accessibility & contrast

On white

6.18
#5F49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49D5#FFFFFF#000000##FFFFFF
##5F49D51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#266C89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f49d5;
/* rgb */ color: rgb(95, 73, 213);
/* oklch */ color: oklch(51.3% 0.204 283.7);
Tailwind
colors: {
  custom: {
    50: '#977de3',
    500: '#5f49d5',
    950: '#000000',
  },
}
SCSS
$custom: #5f49d5;
$custom-light: #977de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49d5",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 249.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.20446,
    "h": 283.7
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#5F49D5
secondary
#D1DAA0
accent
#E642CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5F49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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