#5649E1#5649E1

#5649E1 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.221 H 279.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5649E1
RGBrgb(86, 73, 225)
HSLhsl(245, 72%, 58%)
HSVhsv(245, 68%, 88%)
CMYKcmyk(61.8%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.50, 48.60, -75.53)
CIE-LCHlch(41.50, 89.82, 302.76°)
OKLaboklab(51.63% 0.0351 -0.2178)
OKLCHoklch(51.63% 0.221 279.2)
XYZxyz(19.8066, 12.1782, 72.5265)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649E1 #D4E149
analogous
#4988E1 #5649E1 #A249E1
triadic
#5649E1 #E15649 #49E156
tetradic
#5649E1 #E14988 #D4E149 #49E1A2
square
#5649E1 #E14988 #D4E149 #49E1A2
split-complementary
#5649E1 #E1A249 #88E149
monochromatic
#241997 #3022CB #5649E1 #877EEA #B8B2F2

Accessibility & contrast

On white

6.11
#5649E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5649E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649E1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649E1#FFFFFF#000000##FFFFFF
##5649E11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5649e1;
/* rgb */ color: rgb(86, 73, 225);
/* oklch */ color: oklch(51.6% 0.221 279.2);
Tailwind
colors: {
  custom: {
    50: '#957dec',
    500: '#5649e1',
    950: '#000000',
  },
}
SCSS
$custom: #5649e1;
$custom-light: #957dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5649e1",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 245.132,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.2206,
    "h": 279.2
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#5649E1
secondary
#DCE1A5
accent
#EE39DF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5649E1

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

Preview Lab → · Contrast checker → · Palette generator →

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