#5F49D7#5F49D7

#5F49D7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.207 H 283.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5F49D7
RGBrgb(95, 73, 215)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 66%, 84%)
CMYKcmyk(55.8%, 66%, 0%, 15.7%)
CIE-LABlab(41.38, 46.88, -69.98)
CIE-LCHlch(41.38, 84.23, 303.82°)
OKLaboklab(51.47% 0.0481 -0.2012)
OKLCHoklch(51.47% 0.207 283.5)
XYZxyz(19.3638, 12.1031, 65.5926)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49D7 #C1D749
analogous
#497AD7 #5F49D7 #A649D7
triadic
#5F49D7 #D75F49 #49D75F
tetradic
#5F49D7 #D7497A #C1D749 #49D7A6
square
#5F49D7 #D7497A #C1D749 #49D7A6
split-complementary
#5F49D7 #D7A649 #7AD749
monochromatic
#2E1E88 #3F29BA #5F49D7 #8B7BE2 #B7ADED

Accessibility & contrast

On white

6.14
#5F49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5F49D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49D7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49D7#FFFFFF#000000##FFFFFF
##5F49D71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#236D8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f49d7;
/* rgb */ color: rgb(95, 73, 215);
/* oklch */ color: oklch(51.5% 0.207 283.5);
Tailwind
colors: {
  custom: {
    50: '#987de4',
    500: '#5f49d7',
    950: '#000000',
  },
}
SCSS
$custom: #5f49d7;
$custom-light: #987de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49d7",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 249.296,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.20692,
    "h": 283.5
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#5F49D7
secondary
#D2DBA1
accent
#E741CD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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