#5647DB#5647DB

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

Color values

HEX#5647DB
RGBrgb(86, 71, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 68%, 86%)
CMYKcmyk(60.7%, 67.6%, 0%, 14.1%)
CIE-LABlab(40.57, 47.87, -73.63)
CIE-LCHlch(40.57, 87.82, 303.03°)
OKLaboklab(50.8% 0.0375 -0.2122)
OKLCHoklch(50.8% 0.215 280)
XYZxyz(18.8731, 11.5980, 68.2482)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647DB #CCDB47
analogous
#4782DB #5647DB #A047DB
triadic
#5647DB #DB5647 #47DB56
tetradic
#5647DB #DB4782 #CCDB47 #47DBA0
square
#5647DB #DB4782 #CCDB47 #47DBA0
split-complementary
#5647DB #DBA047 #82DB47
monochromatic
#271B8C #3525BF #5647DB #857AE5 #B4ADEF

Accessibility & contrast

On white

6.33
#5647DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5647DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647DB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647DB#FFFFFF#000000##FFFFFF
##5647DB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.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: #5647db;
/* rgb */ color: rgb(86, 71, 219);
/* oklch */ color: oklch(50.8% 0.215 280.0);
Tailwind
colors: {
  custom: {
    50: '#947ce7',
    500: '#5647db',
    950: '#000000',
  },
}
SCSS
$custom: #5647db;
$custom-light: #947ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5647db",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 246.081,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.21549,
    "h": 280
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#5647DB
secondary
#D7DDA1
accent
#EA3ED9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5647DB

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

Preview Lab → · Contrast checker → · Palette generator →

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