#5646E7#5646E7

#5646E7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.231 H 279.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5646E7
RGBrgb(86, 70, 231)
HSLhsl(246, 77%, 59%)
HSVhsv(246, 70%, 91%)
CMYKcmyk(62.8%, 69.7%, 0%, 9.4%)
CIE-LABlab(41.42, 52.11, -79.08)
CIE-LCHlch(41.42, 94.70, 303.38°)
OKLaboklab(51.73% 0.0364 -0.2281)
OKLCHoklch(51.73% 0.231 279.1)
XYZxyz(20.4471, 12.1267, 76.8490)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646E7 #D7E746
analogous
#4687E7 #5646E7 #A746E7
triadic
#5646E7 #E75646 #46E756
tetradic
#5646E7 #E74687 #D7E746 #46E7A7
square
#5646E7 #E74687 #D7E746 #46E7A7
split-complementary
#5646E7 #E7A746 #87E746
monochromatic
#22159E #2E1CD4 #5646E7 #877CEE #B9B2F5

Accessibility & contrast

On white

6.13
#5646E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5646E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646E7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646E7#FFFFFF#000000##FFFFFF
##5646E71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5646e7;
/* rgb */ color: rgb(86, 70, 231);
/* oklch */ color: oklch(51.7% 0.231 279.1);
Tailwind
colors: {
  custom: {
    50: '#967bf0',
    500: '#5646e7',
    950: '#000000',
  },
}
SCSS
$custom: #5646e7;
$custom-light: #967bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5646e7",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 245.963,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.23102,
    "h": 279.1
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#5646E7
secondary
#DEE4A5
accent
#F434E1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5646E7

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

Preview Lab → · Contrast checker → · Palette generator →

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