#6B56EC#6B56EC

#6B56EC is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.216 H 283.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6B56EC
RGBrgb(107, 86, 236)
HSLhsl(248, 80%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(54.7%, 63.6%, 0%, 7.5%)
CIE-LABlab(46.76, 47.81, -73.09)
CIE-LCHlch(46.76, 87.34, 303.19°)
OKLaboklab(56.12% 0.0498 -0.21)
OKLCHoklch(56.12% 0.216 283.3)
XYZxyz(24.5269, 15.8360, 81.1049)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56EC #D7EC56
analogous
#568CEC #6B56EC #B656EC
triadic
#6B56EC #EC6B56 #56EC6B
tetradic
#6B56EC #EC568C #D7EC56 #56ECB6
square
#6B56EC #EC568C #D7EC56 #56ECB6
split-complementary
#6B56EC #ECB656 #8CEC56
monochromatic
#2A14B3 #3B1FE6 #6B56EC #9B8DF2 #CBC4F8

Accessibility & contrast

On white

5.04
#6B56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6B56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56EC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56EC#FFFFFF#000000##FFFFFF
##6B56EC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#2E7B99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b56ec;
/* rgb */ color: rgb(107, 86, 236);
/* oklch */ color: oklch(56.1% 0.216 283.3);
Tailwind
colors: {
  custom: {
    50: '#a087f3',
    500: '#6b56ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b56ec;
$custom-light: #a087f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56ec",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 248.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.21582,
    "h": 283.3
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#6B56EC
secondary
#E2EAB4
accent
#DC09BF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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