#5747DB#5747DB

#5747DB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.215 H 280.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5747DB
RGBrgb(87, 71, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 68%, 86%)
CMYKcmyk(60.3%, 67.6%, 0%, 14.1%)
CIE-LABlab(40.65, 48.01, -73.50)
CIE-LCHlch(40.65, 87.79, 303.15°)
OKLaboklab(50.88% 0.0388 -0.2118)
OKLCHoklch(50.88% 0.215 280.4)
XYZxyz(18.9659, 11.6458, 68.2525)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747DB #CBDB47
analogous
#4781DB #5747DB #A147DB
triadic
#5747DB #DB5747 #47DB57
tetradic
#5747DB #DB4781 #CBDB47 #47DBA1
square
#5747DB #DB4781 #CBDB47 #47DBA1
split-complementary
#5747DB #DBA147 #81DB47
monochromatic
#281B8C #3625BF #5747DB #867AE5 #B4ADEF

Accessibility & contrast

On white

6.31
#5747DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5747DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747DB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747DB#FFFFFF#000000##FFFFFF
##5747DB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5747db;
/* rgb */ color: rgb(87, 71, 219);
/* oklch */ color: oklch(50.9% 0.215 280.4);
Tailwind
colors: {
  custom: {
    50: '#947ce7',
    500: '#5747db',
    950: '#000000',
  },
}
SCSS
$custom: #5747db;
$custom-light: #947ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5747db",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 246.486,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.21531,
    "h": 280.4
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#5747DB
secondary
#D7DDA1
accent
#EA3ED8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5747DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5747DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva