#6662DD#6662DD

#6662DD is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.6% C 0.182 H 280.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6662DD
RGBrgb(102, 98, 221)
HSLhsl(242, 64%, 63%)
HSVhsv(242, 56%, 87%)
CMYKcmyk(53.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.98, 35.32, -62.65)
CIE-LCHlch(47.98, 71.92, 299.41°)
OKLaboklab(56.58% 0.0326 -0.1794)
OKLCHoklch(56.58% 0.182 280.3)
XYZxyz(22.8943, 16.7792, 70.4249)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662DD #D9DD62
analogous
#629CDD #6662DD #A362DD
triadic
#6662DD #DD6662 #62DD66
tetradic
#6662DD #DD629C #D9DD62 #62DDA3
square
#6662DD #DD629C #D9DD62 #62DDA3
split-complementary
#6662DD #DDA362 #9CDD62
monochromatic
#2723A2 #3530D2 #6662DD #9794E8 #C8C7F3

Accessibility & contrast

On white

4.82
#6662DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6662DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6662DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662DD#FFFFFF#000000##FFFFFF
##6662DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0277E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#2F7E96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6662dd;
/* rgb */ color: rgb(102, 98, 221);
/* oklch */ color: oklch(56.6% 0.182 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b8fe8',
    500: '#6662dd',
    950: '#000000',
  },
}
SCSS
$custom: #6662dd;
$custom-light: #9b8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#6662dd",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 241.951,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.18232,
    "h": 280.3
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#6662DD
secondary
#E2E4B7
accent
#CC19C6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6662DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6662DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva