#6656CD#6656CD

#6656CD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.177 H 284.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6656CD
RGBrgb(102, 86, 205)
HSLhsl(248, 54%, 57%)
HSVhsv(248, 58%, 80%)
CMYKcmyk(50.2%, 58%, 0%, 19.6%)
CIE-LABlab(44.07, 37.59, -59.83)
CIE-LCHlch(44.07, 70.66, 302.14°)
OKLaboklab(53.34% 0.0452 -0.1712)
OKLCHoklch(53.34% 0.177 284.8)
XYZxyz(19.8234, 13.8871, 59.3817)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656CD #BDCD56
analogous
#5682CD #6656CD #A156CD
triadic
#6656CD #CD6656 #56CD66
tetradic
#6656CD #CD5682 #BDCD56 #56CDA1
square
#6656CD #CD5682 #BDCD56 #56CDA1
split-complementary
#6656CD #CDA156 #82CD56
monochromatic
#332682 #4534B1 #6656CD #9185DB #BCB4E9

Accessibility & contrast

On white

5.56
#6656CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6656CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656CD#FFFFFF#000000##FFFFFF
##6656CD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6656cd;
/* rgb */ color: rgb(102, 86, 205);
/* oklch */ color: oklch(53.3% 0.177 284.8);
Tailwind
colors: {
  custom: {
    50: '#9986dd',
    500: '#6656cd',
    950: '#000000',
  },
}
SCSS
$custom: #6656cd;
$custom-light: #9986dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6656cd",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 248.067,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.17703,
    "h": 284.8
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#6656CD
secondary
#D1D8A7
accent
#DE4ACA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6656CD

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

Preview Lab → · Contrast checker → · Palette generator →

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