#666CD8#666CD8

#666CD8 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.162 H 277.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#666CD8
RGBrgb(102, 108, 216)
HSLhsl(237, 59%, 62%)
HSVhsv(237, 53%, 85%)
CMYKcmyk(52.8%, 50%, 0%, 15.3%)
CIE-LABlab(50.10, 27.69, -56.39)
CIE-LCHlch(50.10, 62.82, 296.15°)
OKLaboklab(58.07% 0.0217 -0.1609)
OKLCHoklch(58.07% 0.162 277.7)
XYZxyz(23.2328, 18.5063, 67.3003)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD8 #D8D266
analogous
#66A5D8 #666CD8 #9966D8
triadic
#666CD8 #D8666C #6CD866
tetradic
#666CD8 #D866A5 #D8D266 #66D899
square
#666CD8 #D866A5 #D8D266 #66D899
split-complementary
#666CD8 #D89966 #A5D866
monochromatic
#282E9C #353DCC #666CD8 #979BE4 #C8CAF1

Accessibility & contrast

On white

4.47
#666CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#666CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD8#FFFFFF#000000##000000
##666CD81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#338498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666cd8;
/* rgb */ color: rgb(102, 108, 216);
/* oklch */ color: oklch(58.1% 0.162 277.7);
Tailwind
colors: {
  custom: {
    50: '#9996e5',
    500: '#666cd8',
    950: '#000000',
  },
}
SCSS
$custom: #666cd8;
$custom-light: #9996e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd8",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 236.842,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.16235,
    "h": 277.7
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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