#5F49E7#5F49E7

#5F49E7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.226 H 281.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5F49E7
RGBrgb(95, 73, 231)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(58.9%, 68.4%, 0%, 9.4%)
CIE-LABlab(42.71, 51.68, -76.92)
CIE-LCHlch(42.71, 92.67, 303.90°)
OKLaboklab(52.83% 0.0458 -0.2216)
OKLCHoklch(52.83% 0.226 281.7)
XYZxyz(21.5212, 12.9660, 76.9544)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49E7 #D1E749
analogous
#4982E7 #5F49E7 #AE49E7
triadic
#5F49E7 #E75F49 #49E75F
tetradic
#5F49E7 #E74982 #D1E749 #49E7AE
square
#5F49E7 #E74982 #D1E749 #49E7AE
split-complementary
#5F49E7 #E7AE49 #82E749
monochromatic
#2915A0 #361CD7 #5F49E7 #8F7FEE #BEB5F5

Accessibility & contrast

On white

5.84
#5F49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5F49E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49E7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49E7#FFFFFF#000000##FFFFFF
##5F49E71.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f49e7;
/* rgb */ color: rgb(95, 73, 231);
/* oklch */ color: oklch(52.8% 0.226 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a7ef0',
    500: '#5f49e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f49e7;
$custom-light: #9a7ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49e7",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 248.354,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.22629,
    "h": 281.7
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#5F49E7
secondary
#DCE5A7
accent
#F335D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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