#5649E3#5649E3

#5649E3 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.223 H 279.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5649E3
RGBrgb(86, 73, 227)
HSLhsl(245, 73%, 59%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(62.1%, 67.8%, 0%, 11%)
CIE-LABlab(41.67, 49.22, -76.39)
CIE-LCHlch(41.67, 90.87, 302.79°)
OKLaboklab(51.81% 0.0349 -0.2203)
OKLCHoklch(51.81% 0.223 279)
XYZxyz(20.0810, 12.2880, 73.9718)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649E3 #D6E349
analogous
#4989E3 #5649E3 #A349E3
triadic
#5649E3 #E35649 #49E356
tetradic
#5649E3 #E34989 #D6E349 #49E3A3
square
#5649E3 #E34989 #D6E349 #49E3A3
split-complementary
#5649E3 #E3A349 #89E349
monochromatic
#23189A #2F20CF #5649E3 #877EEB #B9B3F3

Accessibility & contrast

On white

6.07
#5649E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5649E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649E3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649E3#FFFFFF#000000##FFFFFF
##5649E31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5649e3;
/* rgb */ color: rgb(86, 73, 227);
/* oklch */ color: oklch(51.8% 0.223 279.0);
Tailwind
colors: {
  custom: {
    50: '#957ded',
    500: '#5649e3',
    950: '#000000',
  },
}
SCSS
$custom: #5649e3;
$custom-light: #957ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5649e3",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 227
  },
  "hsl": {
    "h": 245.065,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.22302,
    "h": 279
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#5649E3
secondary
#DDE2A6
accent
#F038E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5649E3

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

Preview Lab → · Contrast checker → · Palette generator →

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