#6656CC#6656CC

#6656CC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.176 H 284.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6656CC
RGBrgb(102, 86, 204)
HSLhsl(248, 54%, 57%)
HSVhsv(248, 58%, 80%)
CMYKcmyk(50%, 57.8%, 0%, 20%)
CIE-LABlab(44.00, 37.29, -59.37)
CIE-LCHlch(44.00, 70.11, 302.13°)
OKLaboklab(53.26% 0.0452 -0.1698)
OKLCHoklch(53.26% 0.176 284.9)
XYZxyz(19.7031, 13.8390, 58.7480)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656CC #BCCC56
analogous
#5681CC #6656CC #A156CC
triadic
#6656CC #CC6656 #56CC66
tetradic
#6656CC #CC5681 #BCCC56 #56CCA1
square
#6656CC #CC5681 #BCCC56 #56CCA1
split-complementary
#6656CC #CCA156 #81CC56
monochromatic
#332781 #4635B0 #6656CC #9185DA #BBB4E8

Accessibility & contrast

On white

5.57
#6656CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6656CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656CC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656CC#FFFFFF#000000##FFFFFF
##6656CC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#407189
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6656cc;
/* rgb */ color: rgb(102, 86, 204);
/* oklch */ color: oklch(53.3% 0.176 284.9);
Tailwind
colors: {
  custom: {
    50: '#9986dc',
    500: '#6656cc',
    950: '#000000',
  },
}
SCSS
$custom: #6656cc;
$custom-light: #9986dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6656cc",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 248.136,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.17572,
    "h": 284.9
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#6656CC
secondary
#D0D7A7
accent
#DD4BC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6656CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6656CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva