#5646CB#5646CB

#5646CB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.197 H 281.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5646CB
RGBrgb(86, 70, 203)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 66%, 80%)
CMYKcmyk(57.6%, 65.5%, 0%, 20.4%)
CIE-LABlab(39.02, 43.48, -66.95)
CIE-LCHlch(39.02, 79.83, 303.00°)
OKLaboklab(49.27% 0.0404 -0.1926)
OKLCHoklch(49.27% 0.197 281.8)
XYZxyz(16.8040, 10.6694, 57.6623)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CB #BBCB46
analogous
#4678CB #5646CB #9846CB
triadic
#5646CB #CB5646 #46CB56
tetradic
#5646CB #CB4678 #BBCB46 #46CB98
square
#5646CB #CB4678 #BBCB46 #46CB98
split-complementary
#5646CB #CB9846 #78CB46
monochromatic
#2B2176 #3D2EA5 #5646CB #8276D8 #ADA6E6

Accessibility & contrast

On white

6.70
#5646CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5646CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CB#FFFFFF#000000##FFFFFF
##5646CB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#106882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5646cb;
/* rgb */ color: rgb(86, 70, 203);
/* oklch */ color: oklch(49.3% 0.197 281.8);
Tailwind
colors: {
  custom: {
    50: '#917bdc',
    500: '#5646cb',
    950: '#000000',
  },
}
SCSS
$custom: #5646cb;
$custom-light: #917bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5646cb",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 247.218,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49269,
    "c": 0.19681,
    "h": 281.8
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#5646CB
secondary
#CCD39A
accent
#DF48CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CB

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

Preview Lab → · Contrast checker → · Palette generator →

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