#6B56F2#6B56F2

#6B56F2 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.6% C 0.223 H 282.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6B56F2
RGBrgb(107, 86, 242)
HSLhsl(248, 86%, 64%)
HSVhsv(248, 64%, 95%)
CMYKcmyk(55.8%, 64.5%, 0%, 5.1%)
CIE-LABlab(47.22, 49.60, -75.71)
CIE-LCHlch(47.22, 90.51, 303.23°)
OKLaboklab(56.6% 0.0492 -0.2177)
OKLCHoklch(56.6% 0.223 282.7)
XYZxyz(25.4133, 16.1906, 85.7731)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56F2 #DDF256
analogous
#568FF2 #6B56F2 #B956F2
triadic
#6B56F2 #F26B56 #56F26B
tetradic
#6B56F2 #F2568F #DDF256 #56F2B9
square
#6B56F2 #F2568F #DDF256 #56F2B9
split-complementary
#6B56F2 #F2B956 #8FF256
monochromatic
#260FBF #391DEE #6B56F2 #9D8FF6 #CFC8FB

Accessibility & contrast

On white

4.95
#6B56F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6B56F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56F2#FFFFFF#000000##FFFFFF
##6B56F21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#257D9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b56f2;
/* rgb */ color: rgb(107, 86, 242);
/* oklch */ color: oklch(56.6% 0.223 282.7);
Tailwind
colors: {
  custom: {
    50: '#a187f7',
    500: '#6b56f2',
    950: '#000000',
  },
}
SCSS
$custom: #6b56f2;
$custom-light: #a187f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56f2",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 248.077,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.22315,
    "h": 282.7
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#6B56F2
secondary
#E6EDB7
accent
#E203C4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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