#5F47DE#5F47DE

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

Color values

HEX#5F47DE
RGBrgb(95, 71, 222)
HSLhsl(250, 70%, 57%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(57.2%, 68%, 0%, 12.9%)
CIE-LABlab(41.55, 50.09, -73.71)
CIE-LCHlch(41.55, 89.11, 304.20°)
OKLaboklab(51.77% 0.0488 -0.2122)
OKLCHoklch(51.77% 0.218 283)
XYZxyz(20.1533, 12.2120, 70.3883)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F47DE #C6DE47
analogous
#477BDE #5F47DE #AA47DE
triadic
#5F47DE #DE5F47 #47DE5F
tetradic
#5F47DE #DE477B #C6DE47 #47DEAA
square
#5F47DE #DE477B #C6DE47 #47DEAA
split-complementary
#5F47DE #DEAA47 #7BDE47
monochromatic
#2D1A91 #3D23C5 #5F47DE #8C7BE7 #B9AFF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F47DE#FFFFFF#000000##FFFFFF
##5F47DE1.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)
#0067E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#166F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f47de;
/* rgb */ color: rgb(95, 71, 222);
/* oklch */ color: oklch(51.8% 0.218 283.0);
Tailwind
colors: {
  custom: {
    50: '#997ce9',
    500: '#5f47de',
    950: '#000000',
  },
}
SCSS
$custom: #5f47de;
$custom-light: #997ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f47de",
  "rgb": {
    "r": 95,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 249.536,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.21772,
    "h": 283
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#5F47DE
secondary
#D5DFA2
accent
#EC3BD0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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