#5F49CF#5F49CF

#5F49CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.8% C 0.197 H 284.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5F49CF
RGBrgb(95, 73, 207)
HSLhsl(250, 58%, 55%)
HSVhsv(250, 65%, 81%)
CMYKcmyk(54.1%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.74, 44.48, -66.43)
CIE-LCHlch(40.74, 79.94, 303.80°)
OKLaboklab(50.8% 0.0491 -0.1908)
OKLCHoklch(50.8% 0.197 284.4)
XYZxyz(18.3609, 11.7019, 60.3106)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49CF #B9CF49
analogous
#4976CF #5F49CF #A249CF
triadic
#5F49CF #CF5F49 #49CF5F
tetradic
#5F49CF #CF4976 #B9CF49 #49CFA2
square
#5F49CF #CF4976 #B9CF49 #49CFA2
split-complementary
#5F49CF #CFA249 #76CF49
monochromatic
#30217D #432EAD #5F49CF #8A79DC #B4AAE9

Accessibility & contrast

On white

6.29
#5F49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5F49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49CF#FFFFFF#000000##FFFFFF
##5F49CF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#2E6A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f49cf;
/* rgb */ color: rgb(95, 73, 207);
/* oklch */ color: oklch(50.8% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#967ddf',
    500: '#5f49cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f49cf;
$custom-light: #967ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49cf",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 249.851,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.19701,
    "h": 284.4
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#5F49CF
secondary
#CDD69E
accent
#E146C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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