#5F47DD#5F47DD

#5F47DD is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.217 H 283.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5F47DD
RGBrgb(95, 71, 221)
HSLhsl(250, 69%, 57%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(57%, 67.9%, 0%, 13.3%)
CIE-LABlab(41.47, 49.79, -73.27)
CIE-LCHlch(41.47, 88.59, 304.20°)
OKLaboklab(51.68% 0.049 -0.2109)
OKLCHoklch(51.68% 0.217 283.1)
XYZxyz(20.0197, 12.1586, 69.6845)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F47DD #C5DD47
analogous
#477ADD #5F47DD #AA47DD
triadic
#5F47DD #DD5F47 #47DD5F
tetradic
#5F47DD #DD477A #C5DD47 #47DDAA
square
#5F47DD #DD477A #C5DD47 #47DDAA
split-complementary
#5F47DD #DDAA47 #7ADD47
monochromatic
#2D1A8F #3D24C3 #5F47DD #8C7BE7 #B9AEF0

Accessibility & contrast

On white

6.12
#5F47DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5F47DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F47DD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F47DD#FFFFFF#000000##FFFFFF
##5F47DD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#196E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f47dd;
/* rgb */ color: rgb(95, 71, 221);
/* oklch */ color: oklch(51.7% 0.217 283.1);
Tailwind
colors: {
  custom: {
    50: '#997ce9',
    500: '#5f47dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f47dd;
$custom-light: #997ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f47dd",
  "rgb": {
    "r": 95,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 249.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.21651,
    "h": 283.1
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#5F47DD
secondary
#D5DEA2
accent
#EC3CD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F47DD

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

Preview Lab → · Contrast checker → · Palette generator →

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