#6A56EB#6A56EB

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

Color values

HEX#6A56EB
RGBrgb(106, 86, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.9%, 63.4%, 0%, 7.8%)
CIE-LABlab(46.60, 47.35, -72.79)
CIE-LCHlch(46.60, 86.84, 303.04°)
OKLaboklab(55.96% 0.0486 -0.2091)
OKLCHoklch(55.96% 0.215 283.1)
XYZxyz(24.2624, 15.7164, 80.3362)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A56EB #D7EB56
analogous
#568CEB #6A56EB #B556EB
triadic
#6A56EB #EB6A56 #56EB6A
tetradic
#6A56EB #EB568C #D7EB56 #56EBB5
square
#6A56EB #EB568C #D7EB56 #56EBB5
split-complementary
#6A56EB #EBB556 #8CEB56
monochromatic
#2A15B2 #3A1FE5 #6A56EB #9A8DF1 #CAC3F8

Accessibility & contrast

On white

5.07
#6A56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6A56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A56EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A56EB#FFFFFF#000000##FFFFFF
##6A56EB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#2C7B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a56eb;
/* rgb */ color: rgb(106, 86, 235);
/* oklch */ color: oklch(56.0% 0.215 283.1);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6a56eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a56eb;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a56eb",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 248.054,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.21472,
    "h": 283.1
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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