#5649E2#5649E2

#5649E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.222 H 279.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5649E2
RGBrgb(86, 73, 226)
HSLhsl(245, 73%, 59%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(61.9%, 67.7%, 0%, 11.4%)
CIE-LABlab(41.58, 48.91, -75.96)
CIE-LCHlch(41.58, 90.34, 302.78°)
OKLaboklab(51.72% 0.035 -0.219)
OKLCHoklch(51.72% 0.222 279.1)
XYZxyz(19.9434, 12.2330, 73.2470)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649E2 #D5E249
analogous
#4988E2 #5649E2 #A249E2
triadic
#5649E2 #E25649 #49E256
tetradic
#5649E2 #E24988 #D5E249 #49E2A2
square
#5649E2 #E24988 #D5E249 #49E2A2
split-complementary
#5649E2 #E2A249 #88E249
monochromatic
#231898 #2F21CD #5649E2 #877EEA #B8B3F3

Accessibility & contrast

On white

6.09
#5649E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5649E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649E2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649E2#FFFFFF#000000##FFFFFF
##5649E21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5649e2;
/* rgb */ color: rgb(86, 73, 226);
/* oklch */ color: oklch(51.7% 0.222 279.1);
Tailwind
colors: {
  custom: {
    50: '#957dec',
    500: '#5649e2',
    950: '#000000',
  },
}
SCSS
$custom: #5649e2;
$custom-light: #957dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5649e2",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 245.098,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.22181,
    "h": 279.1
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#5649E2
secondary
#DDE2A5
accent
#EF39E0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5649E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5649E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva