#6D56E4#6D56E4

#6D56E4 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.206 H 284.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6D56E4
RGBrgb(109, 86, 228)
HSLhsl(250, 72%, 62%)
HSVhsv(250, 62%, 89%)
CMYKcmyk(52.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.32, 45.79, -69.28)
CIE-LCHlch(46.32, 83.05, 303.46°)
OKLaboklab(55.66% 0.053 -0.1987)
OKLCHoklch(55.66% 0.206 284.9)
XYZxyz(23.6338, 15.5070, 75.1316)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56E4 #CDE456
analogous
#5686E4 #6D56E4 #B456E4
triadic
#6D56E4 #E46D56 #56E46D
tetradic
#6D56E4 #E45686 #CDE456 #56E4B4
square
#6D56E4 #E45686 #CDE456 #56E4B4
split-complementary
#6D56E4 #E4B456 #86E456
monochromatic
#311AA5 #4023DA #6D56E4 #9B8BEC #C8C0F5

Accessibility & contrast

On white

5.12
#6D56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6D56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D56E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D56E4#FFFFFF#000000##FFFFFF
##6D56E41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#3D7895
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d56e4;
/* rgb */ color: rgb(109, 86, 228);
/* oklch */ color: oklch(55.7% 0.206 284.9);
Tailwind
colors: {
  custom: {
    50: '#a087ed',
    500: '#6d56e4',
    950: '#000000',
  },
}
SCSS
$custom: #6d56e4;
$custom-light: #a087ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56e4",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 249.718,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.20571,
    "h": 284.9
  },
  "luminance": 0.15508
}

Semantic roles & 50–950 ramp

primary
#6D56E4
secondary
#DDE5B0
accent
#D511B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D56E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6D56E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva