#6B56EB#6B56EB

#6B56EB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.215 H 283.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6B56EB
RGBrgb(107, 86, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.5%, 63.4%, 0%, 7.8%)
CIE-LABlab(46.68, 47.52, -72.66)
CIE-LCHlch(46.68, 86.81, 303.18°)
OKLaboklab(56.04% 0.0499 -0.2087)
OKLCHoklch(56.04% 0.215 283.4)
XYZxyz(24.3820, 15.7781, 80.3419)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56EB #D6EB56
analogous
#568CEB #6B56EB #B556EB
triadic
#6B56EB #EB6B56 #56EB6B
tetradic
#6B56EB #EB568C #D6EB56 #56EBB5
square
#6B56EB #EB568C #D6EB56 #56EBB5
split-complementary
#6B56EB #EBB556 #8CEB56
monochromatic
#2B15B2 #3B1FE5 #6B56EB #9B8DF1 #CBC3F8

Accessibility & contrast

On white

5.05
#6B56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6B56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56EB#FFFFFF#000000##FFFFFF
##6B56EB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#2F7B99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b56eb;
/* rgb */ color: rgb(107, 86, 235);
/* oklch */ color: oklch(56.0% 0.215 283.4);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6b56eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b56eb;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56eb",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 248.456,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.21459,
    "h": 283.4
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#6B56EB
secondary
#E2E9B4
accent
#DB0ABE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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