#5F49E6#5F49E6

#5F49E6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.225 H 281.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5F49E6
RGBrgb(95, 73, 230)
HSLhsl(248, 76%, 59%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(58.7%, 68.3%, 0%, 9.8%)
CIE-LABlab(42.63, 51.38, -76.50)
CIE-LCHlch(42.63, 92.15, 303.89°)
OKLaboklab(52.75% 0.046 -0.2203)
OKLCHoklch(52.75% 0.225 281.8)
XYZxyz(21.3803, 12.9097, 76.2127)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49E6 #D0E649
analogous
#4981E6 #5F49E6 #AE49E6
triadic
#5F49E6 #E65F49 #49E65F
tetradic
#5F49E6 #E64981 #D0E649 #49E6AE
square
#5F49E6 #E64981 #D0E649 #49E6AE
split-complementary
#5F49E6 #E6AE49 #81E649
monochromatic
#29169F #371DD5 #5F49E6 #8E7FED #BEB5F5

Accessibility & contrast

On white

5.86
#5F49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5F49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49E6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49E6#FFFFFF#000000##FFFFFF
##5F49E61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f49e6;
/* rgb */ color: rgb(95, 73, 230);
/* oklch */ color: oklch(52.7% 0.225 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a7eef',
    500: '#5f49e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f49e6;
$custom-light: #9a7eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49e6",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 248.408,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.22509,
    "h": 281.8
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#5F49E6
secondary
#DBE4A7
accent
#F235D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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