#5F49DC#5F49DC

#5F49DC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.213 H 282.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5F49DC
RGBrgb(95, 73, 220)
HSLhsl(249, 68%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(56.8%, 66.8%, 0%, 13.7%)
CIE-LABlab(41.79, 48.38, -72.18)
CIE-LCHlch(41.79, 86.89, 303.84°)
OKLaboklab(51.89% 0.0475 -0.2077)
OKLCHoklch(51.89% 0.213 282.9)
XYZxyz(20.0161, 12.3640, 69.0280)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49DC #C6DC49
analogous
#497CDC #5F49DC #A949DC
triadic
#5F49DC #DC5F49 #49DC5F
tetradic
#5F49DC #DC497C #C6DC49 #49DCA9
square
#5F49DC #DC497C #C6DC49 #49DCA9
split-complementary
#5F49DC #DCA949 #7CDC49
monochromatic
#2D1C8F #3D25C2 #5F49DC #8C7CE6 #B9B0F0

Accessibility & contrast

On white

6.05
#5F49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5F49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49DC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49DC#FFFFFF#000000##FFFFFF
##5F49DC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#1A6F8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f49dc;
/* rgb */ color: rgb(95, 73, 220);
/* oklch */ color: oklch(51.9% 0.213 282.9);
Tailwind
colors: {
  custom: {
    50: '#987de8',
    500: '#5f49dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f49dc;
$custom-light: #987de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49dc",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 248.98,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.21304,
    "h": 282.9
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#5F49DC
secondary
#D5DEA3
accent
#EB3DD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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