#5F49E4#5F49E4

#5F49E4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.223 H 282.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F49E4
RGBrgb(95, 73, 228)
HSLhsl(249, 74%, 59%)
HSVhsv(249, 68%, 89%)
CMYKcmyk(58.3%, 68%, 0%, 10.6%)
CIE-LABlab(42.46, 50.78, -75.64)
CIE-LCHlch(42.46, 91.11, 303.88°)
OKLaboklab(52.57% 0.0463 -0.2178)
OKLCHoklch(52.57% 0.223 282)
XYZxyz(21.1011, 12.7980, 74.7421)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49E4 #CEE449
analogous
#4981E4 #5F49E4 #AD49E4
triadic
#5F49E4 #E45F49 #49E45F
tetradic
#5F49E4 #E44981 #CEE449 #49E4AD
square
#5F49E4 #E44981 #CEE449 #49E4AD
split-complementary
#5F49E4 #E4AD49 #81E449
monochromatic
#2A179C #381FD1 #5F49E4 #8E7EEC #BDB4F4

Accessibility & contrast

On white

5.90
#5F49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F49E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49E4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49E4#FFFFFF#000000##FFFFFF
##5F49E41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f49e4;
/* rgb */ color: rgb(95, 73, 228);
/* oklch */ color: oklch(52.6% 0.223 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a7eee',
    500: '#5f49e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f49e4;
$custom-light: #9a7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49e4",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 248.516,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.2227,
    "h": 282
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#5F49E4
secondary
#DAE3A6
accent
#F137D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49E4

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

Preview Lab → · Contrast checker → · Palette generator →

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