#5646CF#5646CF

#5646CF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.202 H 281.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5646CF
RGBrgb(86, 70, 207)
HSLhsl(247, 59%, 54%)
HSVhsv(247, 66%, 81%)
CMYKcmyk(58.5%, 66.2%, 0%, 18.8%)
CIE-LABlab(39.35, 44.72, -68.73)
CIE-LCHlch(39.35, 82.00, 303.05°)
OKLaboklab(49.61% 0.0399 -0.1978)
OKLCHoklch(49.61% 0.202 281.4)
XYZxyz(17.2869, 10.8626, 60.2051)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CF #BFCF46
analogous
#467BCF #5646CF #9A46CF
triadic
#5646CF #CF5646 #46CF56
tetradic
#5646CF #CF467B #BFCF46 #46CF9A
square
#5646CF #CF467B #BFCF46 #46CF9A
split-complementary
#5646CF #CF9A46 #7BCF46
monochromatic
#2A207B #3B2CAB #5646CF #8277DC #AFA7E8

Accessibility & contrast

On white

6.62
#5646CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5646CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CF#FFFFFF#000000##FFFFFF
##5646CF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#026984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5646cf;
/* rgb */ color: rgb(86, 70, 207);
/* oklch */ color: oklch(49.6% 0.202 281.4);
Tailwind
colors: {
  custom: {
    50: '#927bdf',
    500: '#5646cf',
    950: '#000000',
  },
}
SCSS
$custom: #5646cf;
$custom-light: #927bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5646cf",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 247.007,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.20182,
    "h": 281.4
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#5646CF
secondary
#CFD59B
accent
#E246D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CF

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

Preview Lab → · Contrast checker → · Palette generator →

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