#6C56EF#6C56EF

#6C56EF is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.4% C 0.219 H 283.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6C56EF
RGBrgb(108, 86, 239)
HSLhsl(249, 83%, 64%)
HSVhsv(249, 64%, 94%)
CMYKcmyk(54.8%, 64%, 0%, 6.3%)
CIE-LABlab(47.07, 48.87, -74.27)
CIE-LCHlch(47.07, 88.90, 303.35°)
OKLaboklab(56.44% 0.0508 -0.2134)
OKLCHoklch(56.44% 0.219 283.4)
XYZxyz(25.0873, 16.0742, 83.4253)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C56EF #D9EF56
analogous
#568CEF #6C56EF #B856EF
triadic
#6C56EF #EF6C56 #56EF6C
tetradic
#6C56EF #EF568C #D9EF56 #56EFB8
square
#6C56EF #EF568C #D9EF56 #56EFB8
split-complementary
#6C56EF #EFB856 #8CEF56
monochromatic
#2A12B9 #3B1EEA #6C56EF #9D8EF4 #CDC6FA

Accessibility & contrast

On white

4.98
#6C56EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6C56EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C56EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C56EF#FFFFFF#000000##FFFFFF
##6C56EF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#2E7C9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6c56ef;
/* rgb */ color: rgb(108, 86, 239);
/* oklch */ color: oklch(56.4% 0.219 283.4);
Tailwind
colors: {
  custom: {
    50: '#a187f5',
    500: '#6c56ef',
    950: '#000000',
  },
}
SCSS
$custom: #6c56ef;
$custom-light: #a187f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c56ef",
  "rgb": {
    "r": 108,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 248.627,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.21937,
    "h": 283.4
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#6C56EF
secondary
#E4EBB5
accent
#DF06C0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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