#6C56DF#6C56DF

#6C56DF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 55.2% C 0.200 H 285.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6C56DF
RGBrgb(108, 86, 223)
HSLhsl(250, 68%, 61%)
HSVhsv(250, 61%, 87%)
CMYKcmyk(51.6%, 61.4%, 0%, 12.5%)
CIE-LABlab(45.87, 44.13, -67.19)
CIE-LCHlch(45.87, 80.39, 303.30°)
OKLaboklab(55.19% 0.0521 -0.1926)
OKLCHoklch(55.19% 0.2 285.1)
XYZxyz(22.8274, 15.1702, 71.5230)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C56DF #C9DF56
analogous
#5684DF #6C56DF #B056DF
triadic
#6C56DF #DF6C56 #56DF6C
tetradic
#6C56DF #DF5684 #C9DF56 #56DFB0
square
#6C56DF #DF5684 #C9DF56 #56DFB0
split-complementary
#6C56DF #DFB056 #84DF56
monochromatic
#321E9D #4327D0 #6C56DF #9989E9 #C6BDF2

Accessibility & contrast

On white

5.21
#6C56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6C56DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C56DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C56DF#FFFFFF#000000##FFFFFF
##6C56DF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#3F7792
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c56df;
/* rgb */ color: rgb(108, 86, 223);
/* oklch */ color: oklch(55.2% 0.200 285.1);
Tailwind
colors: {
  custom: {
    50: '#9f87ea',
    500: '#6c56df',
    950: '#000000',
  },
}
SCSS
$custom: #6c56df;
$custom-light: #9f87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6c56df",
  "rgb": {
    "r": 108,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 249.635,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.19955,
    "h": 285.1
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#6C56DF
secondary
#DAE2AE
accent
#D015B2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6C56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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