#5646E5#5646E5

#5646E5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.5% C 0.229 H 279.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5646E5
RGBrgb(86, 70, 229)
HSLhsl(246, 75%, 59%)
HSVhsv(246, 69%, 90%)
CMYKcmyk(62.4%, 69.4%, 0%, 10.2%)
CIE-LABlab(41.24, 51.50, -78.23)
CIE-LCHlch(41.24, 93.66, 303.36°)
OKLaboklab(51.55% 0.0367 -0.2257)
OKLCHoklch(51.55% 0.229 279.2)
XYZxyz(20.1662, 12.0143, 75.3698)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646E5 #D5E546
analogous
#4685E5 #5646E5 #A546E5
triadic
#5646E5 #E55646 #46E556
tetradic
#5646E5 #E54685 #D5E546 #46E5A5
square
#5646E5 #E54685 #D5E546 #46E5A5
split-complementary
#5646E5 #E5A546 #85E546
monochromatic
#23169B #2F1DD0 #5646E5 #877CED #B8B1F4

Accessibility & contrast

On white

6.17
#5646E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5646E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646E5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646E5#FFFFFF#000000##FFFFFF
##5646E51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5646e5;
/* rgb */ color: rgb(86, 70, 229);
/* oklch */ color: oklch(51.5% 0.229 279.2);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5646e5',
    950: '#000000',
  },
}
SCSS
$custom: #5646e5;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5646e5",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 246.038,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.22864,
    "h": 279.2
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#5646E5
secondary
#DDE3A4
accent
#F236DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5646E5

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

Preview Lab → · Contrast checker → · Palette generator →

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