#5646E4#5646E4

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

Color values

HEX#5646E4
RGBrgb(86, 70, 228)
HSLhsl(246, 75%, 58%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(62.3%, 69.3%, 0%, 10.6%)
CIE-LABlab(41.15, 51.19, -77.81)
CIE-LCHlch(41.15, 93.14, 303.34°)
OKLaboklab(51.46% 0.0369 -0.2244)
OKLCHoklch(51.46% 0.227 279.3)
XYZxyz(20.0270, 11.9586, 74.6366)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646E4 #D4E446
analogous
#4685E4 #5646E4 #A546E4
triadic
#5646E4 #E45646 #46E456
tetradic
#5646E4 #E44685 #D4E446 #46E4A5
square
#5646E4 #E44685 #D4E446 #46E4A5
split-complementary
#5646E4 #E4A546 #85E446
monochromatic
#241699 #301ECF #5646E4 #877BEC #B8B1F4

Accessibility & contrast

On white

6.19
#5646E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5646E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646E4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646E4#FFFFFF#000000##FFFFFF
##5646E41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5646e4;
/* rgb */ color: rgb(86, 70, 228);
/* oklch */ color: oklch(51.5% 0.227 279.3);
Tailwind
colors: {
  custom: {
    50: '#957bee',
    500: '#5646e4',
    950: '#000000',
  },
}
SCSS
$custom: #5646e4;
$custom-light: #957bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5646e4",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 246.076,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.22745,
    "h": 279.3
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#5646E4
secondary
#DCE2A4
accent
#F137DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5646E4

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

Preview Lab → · Contrast checker → · Palette generator →

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