#6656EB#6656EB

#6656EB is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.215 H 281.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6656EB
RGBrgb(102, 86, 235)
HSLhsl(246, 79%, 63%)
HSVhsv(246, 63%, 92%)
CMYKcmyk(56.6%, 63.4%, 0%, 7.8%)
CIE-LABlab(46.28, 46.69, -73.33)
CIE-LCHlch(46.28, 86.93, 302.49°)
OKLaboklab(55.65% 0.0435 -0.2108)
OKLCHoklch(55.65% 0.215 281.7)
XYZxyz(23.7980, 15.4770, 80.3145)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6656EB #DBEB56
analogous
#5690EB #6656EB #B056EB
triadic
#6656EB #EB6656 #56EB66
tetradic
#6656EB #EB5690 #DBEB56 #56EBB0
square
#6656EB #EB5690 #DBEB56 #56EBB0
split-complementary
#6656EB #EBB056 #90EB56
monochromatic
#2615B2 #341FE5 #6656EB #988DF1 #C9C3F8

Accessibility & contrast

On white

5.13
#6656EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6656EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6656EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6656EB#FFFFFF#000000##FFFFFF
##6656EB1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#1B7B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6656eb;
/* rgb */ color: rgb(102, 86, 235);
/* oklch */ color: oklch(55.7% 0.215 281.7);
Tailwind
colors: {
  custom: {
    50: '#9d87f2',
    500: '#6656eb',
    950: '#000000',
  },
}
SCSS
$custom: #6656eb;
$custom-light: #9d87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6656eb",
  "rgb": {
    "r": 102,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 246.443,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.21528,
    "h": 281.7
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#6656EB
secondary
#E3E9B4
accent
#DB0AC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6656EB

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

Preview Lab → · Contrast checker → · Palette generator →

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