#5F49D9#5F49D9

#5F49D9 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.209 H 283.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F49D9
RGBrgb(95, 73, 217)
HSLhsl(249, 65%, 57%)
HSVhsv(249, 66%, 85%)
CMYKcmyk(56.2%, 66.4%, 0%, 14.9%)
CIE-LABlab(41.54, 47.48, -70.86)
CIE-LCHlch(41.54, 85.30, 303.83°)
OKLaboklab(51.63% 0.0479 -0.2038)
OKLCHoklch(51.63% 0.209 283.2)
XYZxyz(19.6224, 12.2065, 66.9543)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49D9 #C3D949
analogous
#497BD9 #5F49D9 #A749D9
triadic
#5F49D9 #D95F49 #49D95F
tetradic
#5F49D9 #D9497B #C3D949 #49D9A7
square
#5F49D9 #D9497B #C3D949 #49D9A7
split-complementary
#5F49D9 #D9A749 #7BD949
monochromatic
#2E1D8B #3E28BD #5F49D9 #8C7CE4 #B8AEEE

Accessibility & contrast

On white

6.10
#5F49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49D9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49D9#FFFFFF#000000##FFFFFF
##5F49D91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#206E8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f49d9;
/* rgb */ color: rgb(95, 73, 217);
/* oklch */ color: oklch(51.6% 0.209 283.2);
Tailwind
colors: {
  custom: {
    50: '#987de6',
    500: '#5f49d9',
    950: '#000000',
  },
}
SCSS
$custom: #5f49d9;
$custom-light: #987de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49d9",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 249.167,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.20937,
    "h": 283.2
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#5F49D9
secondary
#D3DCA2
accent
#E83FCF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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