#6B56DC#6B56DC

#6B56DC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.9% C 0.196 H 285.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6B56DC
RGBrgb(107, 86, 220)
HSLhsl(249, 66%, 60%)
HSVhsv(249, 61%, 86%)
CMYKcmyk(51.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(45.56, 43.06, -65.98)
CIE-LCHlch(45.56, 78.79, 303.13°)
OKLaboklab(54.87% 0.051 -0.1891)
OKLCHoklch(54.87% 0.196 285.1)
XYZxyz(22.3056, 14.9475, 69.4061)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56DC #C7DC56
analogous
#5684DC #6B56DC #AE56DC
triadic
#6B56DC #DC6B56 #56DC6B
tetradic
#6B56DC #DC5684 #C7DC56 #56DCAE
square
#6B56DC #DC5684 #C7DC56 #56DCAE
split-complementary
#6B56DC #DCAE56 #84DC56
monochromatic
#322098 #432ACB #6B56DC #9789E6 #C4BBF1

Accessibility & contrast

On white

5.26
#6B56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6B56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56DC#FFFFFF#000000##FFFFFF
##6B56DC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#3F7691
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b56dc;
/* rgb */ color: rgb(107, 86, 220);
/* oklch */ color: oklch(54.9% 0.196 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e86e8',
    500: '#6b56dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b56dc;
$custom-light: #9e86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56dc",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 249.403,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.19586,
    "h": 285.1
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#6B56DC
secondary
#D9E1AD
accent
#E93FCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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