#5F47DF#5F47DF

#5F47DF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.219 H 282.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5F47DF
RGBrgb(95, 71, 223)
HSLhsl(249, 70%, 58%)
HSVhsv(249, 68%, 87%)
CMYKcmyk(57.4%, 68.2%, 0%, 12.5%)
CIE-LABlab(41.64, 50.39, -74.14)
CIE-LCHlch(41.64, 89.64, 304.20°)
OKLaboklab(51.85% 0.0487 -0.2134)
OKLCHoklch(51.85% 0.219 282.8)
XYZxyz(20.2877, 12.2658, 71.0962)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F47DF #C7DF47
analogous
#477BDF #5F47DF #AB47DF
triadic
#5F47DF #DF5F47 #47DF5F
tetradic
#5F47DF #DF477B #C7DF47 #47DFAB
square
#5F47DF #DF477B #C7DF47 #47DFAB
split-complementary
#5F47DF #DFAB47 #7BDF47
monochromatic
#2C1992 #3C22C6 #5F47DF #8C7BE8 #BAAFF1

Accessibility & contrast

On white

6.08
#5F47DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5F47DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F47DF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F47DF#FFFFFF#000000##FFFFFF
##5F47DF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#146F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f47df;
/* rgb */ color: rgb(95, 71, 223);
/* oklch */ color: oklch(51.9% 0.219 282.8);
Tailwind
colors: {
  custom: {
    50: '#997cea',
    500: '#5f47df',
    950: '#000000',
  },
}
SCSS
$custom: #5f47df;
$custom-light: #997cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f47df",
  "rgb": {
    "r": 95,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 249.474,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51854,
    "c": 0.21891,
    "h": 282.8
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#5F47DF
secondary
#D6DFA2
accent
#ED3BD1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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