#6B56EF#6B56EF

#6B56EF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.4% C 0.220 H 283.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6B56EF
RGBrgb(107, 86, 239)
HSLhsl(248, 83%, 64%)
HSVhsv(248, 64%, 94%)
CMYKcmyk(55.2%, 64%, 0%, 6.3%)
CIE-LABlab(46.99, 48.71, -74.40)
CIE-LCHlch(46.99, 88.93, 303.21°)
OKLaboklab(56.36% 0.0495 -0.2138)
OKLCHoklch(56.36% 0.22 283)
XYZxyz(24.9664, 16.0118, 83.4196)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56EF #DAEF56
analogous
#568DEF #6B56EF #B756EF
triadic
#6B56EF #EF6B56 #56EF6B
tetradic
#6B56EF #EF568D #DAEF56 #56EFB7
square
#6B56EF #EF568D #DAEF56 #56EFB7
split-complementary
#6B56EF #EFB756 #8DEF56
monochromatic
#2912B9 #3A1EEA #6B56EF #9C8EF4 #CDC6FA

Accessibility & contrast

On white

5.00
#6B56EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6B56EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56EF#FFFFFF#000000##FFFFFF
##6B56EF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#2A7C9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b56ef;
/* rgb */ color: rgb(107, 86, 239);
/* oklch */ color: oklch(56.4% 0.220 283.0);
Tailwind
colors: {
  custom: {
    50: '#a187f5',
    500: '#6b56ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b56ef;
$custom-light: #a187f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56ef",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 248.235,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.2195,
    "h": 283
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#6B56EF
secondary
#E4EBB5
accent
#DF06C1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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