#666CD2#666CD2

#666CD2 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.154 H 277.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#666CD2
RGBrgb(102, 108, 210)
HSLhsl(237, 55%, 61%)
HSVhsv(237, 51%, 82%)
CMYKcmyk(51.4%, 48.6%, 0%, 17.6%)
CIE-LABlab(49.74, 25.81, -53.57)
CIE-LCHlch(49.74, 59.46, 295.73°)
OKLaboklab(57.68% 0.0211 -0.1526)
OKLCHoklch(57.68% 0.154 277.9)
XYZxyz(22.4713, 18.2017, 63.2895)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD2 #D2CC66
analogous
#66A2D2 #666CD2 #9666D2
triadic
#666CD2 #D2666C #6CD266
tetradic
#666CD2 #D266A2 #D2CC66 #66D296
square
#666CD2 #D266A2 #D2CC66 #66D296
split-complementary
#666CD2 #D29666 #A2D266
monochromatic
#2B3193 #3941C2 #666CD2 #9599E0 #C5C7EE

Accessibility & contrast

On white

4.53
#666CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#666CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD2#FFFFFF#000000##000000
##666CD21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#3172D0
Tritanopia (blue-blind)
#388295
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666cd2;
/* rgb */ color: rgb(102, 108, 210);
/* oklch */ color: oklch(57.7% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#9996e0',
    500: '#666cd2',
    950: '#000000',
  },
}
SCSS
$custom: #666cd2;
$custom-light: #9996e0;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 236.667,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.15405,
    "h": 277.9
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#666CD2
secondary
#DEDCB6
accent
#B923C2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#666CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva