#5646E3#5646E3

#5646E3 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.226 H 279.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5646E3
RGBrgb(86, 70, 227)
HSLhsl(246, 74%, 58%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(62.1%, 69.2%, 0%, 11%)
CIE-LABlab(41.06, 50.88, -77.39)
CIE-LCHlch(41.06, 92.62, 303.33°)
OKLaboklab(51.37% 0.037 -0.2232)
OKLCHoklch(51.37% 0.226 279.4)
XYZxyz(19.8886, 11.9033, 73.9076)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646E3 #D3E346
analogous
#4684E3 #5646E3 #A546E3
triadic
#5646E3 #E35646 #46E356
tetradic
#5646E3 #E34684 #D3E346 #46E3A5
square
#5646E3 #E34684 #D3E346 #46E3A5
split-complementary
#5646E3 #E3A546 #84E346
monochromatic
#241798 #311FCD #5646E3 #877BEB #B7B0F3

Accessibility & contrast

On white

6.21
#5646E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5646E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646E3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646E3#FFFFFF#000000##FFFFFF
##5646E31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#005BE0
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5646e3;
/* rgb */ color: rgb(86, 70, 227);
/* oklch */ color: oklch(51.4% 0.226 279.4);
Tailwind
colors: {
  custom: {
    50: '#957bed',
    500: '#5646e3',
    950: '#000000',
  },
}
SCSS
$custom: #5646e3;
$custom-light: #957bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5646e3",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 246.115,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.22625,
    "h": 279.4
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#5646E3
secondary
#DBE2A3
accent
#F037DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5646E3

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

Preview Lab → · Contrast checker → · Palette generator →

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