#6B56E8#6B56E8

#6B56E8 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.211 H 283.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6B56E8
RGBrgb(107, 86, 232)
HSLhsl(249, 76%, 62%)
HSVhsv(249, 63%, 91%)
CMYKcmyk(53.9%, 62.9%, 0%, 9%)
CIE-LABlab(46.45, 46.62, -71.34)
CIE-LCHlch(46.45, 85.22, 303.17°)
OKLaboklab(55.81% 0.0501 -0.2048)
OKLCHoklch(55.81% 0.211 283.8)
XYZxyz(23.9522, 15.6062, 78.0785)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56E8 #D3E856
analogous
#568AE8 #6B56E8 #B456E8
triadic
#6B56E8 #E86B56 #56E86B
tetradic
#6B56E8 #E8568A #D3E856 #56E8B4
square
#6B56E8 #E8568A #D3E856 #56E8B4
split-complementary
#6B56E8 #E8B456 #8AE856
monochromatic
#2D17AC #3C20E1 #6B56E8 #9A8CEF #C9C2F7

Accessibility & contrast

On white

5.10
#6B56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6B56E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56E8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56E8#FFFFFF#000000##FFFFFF
##6B56E81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#337A97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b56e8;
/* rgb */ color: rgb(107, 86, 232);
/* oklch */ color: oklch(55.8% 0.211 283.8);
Tailwind
colors: {
  custom: {
    50: '#a087f0',
    500: '#6b56e8',
    950: '#000000',
  },
}
SCSS
$custom: #6b56e8;
$custom-light: #a087f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56e8",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 248.63,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.21089,
    "h": 283.8
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#6B56E8
secondary
#E0E8B2
accent
#D80DBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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