#666CDF#666CDF

#666CDF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.172 H 277.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#666CDF
RGBrgb(102, 108, 223)
HSLhsl(237, 65%, 64%)
HSVhsv(237, 54%, 87%)
CMYKcmyk(54.3%, 51.6%, 0%, 12.5%)
CIE-LABlab(50.54, 29.90, -59.65)
CIE-LCHlch(50.54, 66.72, 296.62°)
OKLaboklab(58.54% 0.0222 -0.1705)
OKLCHoklch(58.54% 0.172 277.4)
XYZxyz(24.1571, 18.8760, 72.1682)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CDF #DFD966
analogous
#66A8DF #666CDF #9C66DF
triadic
#666CDF #DF666C #6CDF66
tetradic
#666CDF #DF66A8 #DFD966 #66DF9C
square
#666CDF #DF66A8 #DFD966 #66DF9C
split-complementary
#666CDF #DF9C66 #A8DF66
monochromatic
#232AA8 #333BD4 #666CDF #999DEA #CBCDF4

Accessibility & contrast

On white

4.40
#666CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#666CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CDF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CDF#FFFFFF#000000##000000
##666CDF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#1974DD
Tritanopia (blue-blind)
#2A869B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666cdf;
/* rgb */ color: rgb(102, 108, 223);
/* oklch */ color: oklch(58.5% 0.172 277.4);
Tailwind
colors: {
  custom: {
    50: '#9a96ea',
    500: '#666cdf',
    950: '#000000',
  },
}
SCSS
$custom: #666cdf;
$custom-light: #9a96ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666cdf",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 237.025,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.17192,
    "h": 277.4
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#666CDF
secondary
#E6E4BB
accent
#C418CD
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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