#666CD9#666CD9

#666CD9 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.164 H 277.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666CD9
RGBrgb(102, 108, 217)
HSLhsl(237, 60%, 63%)
HSVhsv(237, 53%, 85%)
CMYKcmyk(53%, 50.2%, 0%, 14.9%)
CIE-LABlab(50.17, 28.01, -56.86)
CIE-LCHlch(50.17, 63.38, 296.22°)
OKLaboklab(58.13% 0.0218 -0.1623)
OKLCHoklch(58.13% 0.164 277.6)
XYZxyz(23.3625, 18.5582, 67.9832)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD9 #D9D366
analogous
#66A5D9 #666CD9 #9A66D9
triadic
#666CD9 #D9666C #6CD966
tetradic
#666CD9 #D966A5 #D9D366 #66D99A
square
#666CD9 #D966A5 #D9D366 #66D99A
split-complementary
#666CD9 #D99A66 #A5D966
monochromatic
#272D9D #353DCD #666CD9 #979BE5 #C8CAF1

Accessibility & contrast

On white

4.46
#666CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#666CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD9#FFFFFF#000000##000000
##666CD91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDD
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#318498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666cd9;
/* rgb */ color: rgb(102, 108, 217);
/* oklch */ color: oklch(58.1% 0.164 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a96e5',
    500: '#666cd9',
    950: '#000000',
  },
}
SCSS
$custom: #666cd9;
$custom-light: #9a96e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd9",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 236.87,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.16373,
    "h": 277.6
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#666CD9
secondary
#E2E0B8
accent
#BF1EC8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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