#6C56F2#6C56F2

#6C56F2 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.223 H 283.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6C56F2
RGBrgb(108, 86, 242)
HSLhsl(248, 86%, 64%)
HSVhsv(248, 64%, 95%)
CMYKcmyk(55.4%, 64.5%, 0%, 5.1%)
CIE-LABlab(47.30, 49.76, -75.57)
CIE-LCHlch(47.30, 90.48, 303.36°)
OKLaboklab(56.68% 0.0504 -0.2172)
OKLCHoklch(56.68% 0.223 283.1)
XYZxyz(25.5342, 16.2530, 85.7788)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C56F2 #DCF256
analogous
#568EF2 #6C56F2 #BA56F2
triadic
#6C56F2 #F26C56 #56F26C
tetradic
#6C56F2 #F2568E #DCF256 #56F2BA
square
#6C56F2 #F2568E #DCF256 #56F2BA
split-complementary
#6C56F2 #F2BA56 #8EF256
monochromatic
#280FBF #3B1DEE #6C56F2 #9D8FF6 #CFC8FB

Accessibility & contrast

On white

4.94
#6C56F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6C56F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C56F2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C56F2#FFFFFF#000000##FFFFFF
##6C56F21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c56f2;
/* rgb */ color: rgb(108, 86, 242);
/* oklch */ color: oklch(56.7% 0.223 283.1);
Tailwind
colors: {
  custom: {
    50: '#a287f7',
    500: '#6c56f2',
    950: '#000000',
  },
}
SCSS
$custom: #6c56f2;
$custom-light: #a287f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c56f2",
  "rgb": {
    "r": 108,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 248.462,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.22303,
    "h": 283.1
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#6C56F2
secondary
#E5EDB7
accent
#E203C3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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