#5F49FF#5F49FF

#5F49FF is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 55.0% C 0.254 H 279.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F49FF
RGBrgb(95, 73, 255)
HSLhsl(247, 100%, 64%)
HSVhsv(247, 71%, 100%)
CMYKcmyk(62.7%, 71.4%, 0%, 0%)
CIE-LABlab(44.82, 58.81, -86.94)
CIE-LCHlch(44.82, 104.96, 304.08°)
OKLaboklab(54.98% 0.0416 -0.2509)
OKLCHoklch(54.98% 0.254 279.4)
XYZxyz(25.1461, 14.4160, 96.0458)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49FF #E9FF49
analogous
#498EFF #5F49FF #BA49FF
triadic
#5F49FF #FF5F49 #49FF5F
tetradic
#5F49FF #FF498E #E9FF49 #49FFBA
square
#5F49FF #FF498E #E9FF49 #49FFBA
split-complementary
#5F49FF #FFBA49 #8EFF49
monochromatic
#1900CE #290CFF #5F49FF #9586FF #CBC3FF

Accessibility & contrast

On white

5.41
#5F49FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F49FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49FF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49FF#FFFFFF#000000##FFFFFF
##5F49FF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#007CA0
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f49ff;
/* rgb */ color: rgb(95, 73, 255);
/* oklch */ color: oklch(55.0% 0.254 279.4);
Tailwind
colors: {
  custom: {
    50: '#9e7fff',
    500: '#5f49ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f49ff;
$custom-light: #9e7fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49ff",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 255
  },
  "hsl": {
    "h": 247.253,
    "s": 100,
    "l": 64.314
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.25433,
    "h": 279.4
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#5F49FF
secondary
#EAF1B2
accent
#E600CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5F49FF

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

Preview Lab → · Contrast checker → · Palette generator →

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