#5646DB#5646DB

#5646DB is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.217 H 280.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5646DB
RGBrgb(86, 70, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 68%, 86%)
CMYKcmyk(60.7%, 68%, 0%, 14.1%)
CIE-LABlab(40.36, 48.43, -73.97)
CIE-LCHlch(40.36, 88.41, 303.21°)
OKLaboklab(50.65% 0.0383 -0.2132)
OKLCHoklch(50.65% 0.217 280.2)
XYZxyz(18.8100, 11.4718, 68.2272)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646DB #CBDB46
analogous
#4681DB #5646DB #A146DB
triadic
#5646DB #DB5646 #46DB56
tetradic
#5646DB #DB4681 #CBDB46 #46DBA1
square
#5646DB #DB4681 #CBDB46 #46DBA1
split-complementary
#5646DB #DBA146 #81DB46
monochromatic
#271B8B #3625BF #5646DB #8579E5 #B4ACEF

Accessibility & contrast

On white

6.37
#5646DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5646DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646DB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646DB#FFFFFF#000000##FFFFFF
##5646DB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0059D8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5646db;
/* rgb */ color: rgb(86, 70, 219);
/* oklch */ color: oklch(50.7% 0.217 280.2);
Tailwind
colors: {
  custom: {
    50: '#947be7',
    500: '#5646db',
    950: '#000000',
  },
}
SCSS
$custom: #5646db;
$custom-light: #947be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5646db",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 246.443,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.2166,
    "h": 280.2
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#5646DB
secondary
#D6DDA0
accent
#EA3DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5646DB

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

Preview Lab → · Contrast checker → · Palette generator →

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