#5646E0#5646E0

#5646E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.223 H 279.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5646E0
RGBrgb(86, 70, 224)
HSLhsl(246, 71%, 58%)
HSVhsv(246, 69%, 88%)
CMYKcmyk(61.6%, 68.8%, 0%, 12.2%)
CIE-LABlab(40.80, 49.97, -76.11)
CIE-LCHlch(40.80, 91.04, 303.28°)
OKLaboklab(51.1% 0.0375 -0.2195)
OKLCHoklch(51.1% 0.223 279.7)
XYZxyz(19.4782, 11.7391, 71.7460)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646E0 #D0E046
analogous
#4683E0 #5646E0 #A346E0
triadic
#5646E0 #E05646 #46E056
tetradic
#5646E0 #E04683 #D0E046 #46E0A3
square
#5646E0 #E04683 #D0E046 #46E0A3
split-complementary
#5646E0 #E0A346 #83E046
monochromatic
#251993 #3321C7 #5646E0 #867AE9 #B6AFF2

Accessibility & contrast

On white

6.27
#5646E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5646E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646E0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646E0#FFFFFF#000000##FFFFFF
##5646E01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5646e0;
/* rgb */ color: rgb(86, 70, 224);
/* oklch */ color: oklch(51.1% 0.223 279.7);
Tailwind
colors: {
  custom: {
    50: '#957beb',
    500: '#5646e0',
    950: '#000000',
  },
}
SCSS
$custom: #5646e0;
$custom-light: #957beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5646e0",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 246.234,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.511,
    "c": 0.22265,
    "h": 279.7
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#5646E0
secondary
#D9E0A2
accent
#EE3ADB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5646E0

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

Preview Lab → · Contrast checker → · Palette generator →

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