#6655EB#6655EB

#6655EB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.216 H 281.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6655EB
RGBrgb(102, 85, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 64%, 92%)
CMYKcmyk(56.6%, 63.8%, 0%, 7.8%)
CIE-LABlab(46.07, 47.26, -73.67)
CIE-LCHlch(46.07, 87.53, 302.68°)
OKLaboklab(55.5% 0.0444 -0.2119)
OKLCHoklch(55.5% 0.216 281.8)
XYZxyz(23.7187, 15.3184, 80.2880)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6655EB #DAEB55
analogous
#558FEB #6655EB #B155EB
triadic
#6655EB #EB6655 #55EB66
tetradic
#6655EB #EB558F #DAEB55 #55EBB1
square
#6655EB #EB558F #DAEB55 #55EBB1
split-complementary
#6655EB #EBB155 #8FEB55
monochromatic
#2615B1 #351EE5 #6655EB #978CF1 #C9C3F8

Accessibility & contrast

On white

5.17
#6655EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6655EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6655EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6655EB#FFFFFF#000000##FFFFFF
##6655EB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#1C7B98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6655eb;
/* rgb */ color: rgb(102, 85, 235);
/* oklch */ color: oklch(55.5% 0.216 281.8);
Tailwind
colors: {
  custom: {
    50: '#9e86f2',
    500: '#6655eb',
    950: '#000000',
  },
}
SCSS
$custom: #6655eb;
$custom-light: #9e86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6655eb",
  "rgb": {
    "r": 102,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 246.8,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.21647,
    "h": 281.8
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#6655EB
secondary
#E3E9B3
accent
#DB0AC4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6655EB

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

Preview Lab → · Contrast checker → · Palette generator →

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