#666DB7#666DB7

#666DB7 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.2% C 0.114 H 278.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#666DB7
RGBrgb(102, 109, 183)
HSLhsl(235, 36%, 56%)
HSVhsv(235, 44%, 72%)
CMYKcmyk(44.3%, 40.4%, 0%, 28.2%)
CIE-LABlab(48.49, 16.90, -40.05)
CIE-LCHlch(48.49, 43.47, 292.88°)
OKLaboklab(56.23% 0.0158 -0.113)
OKLCHoklch(56.23% 0.114 278)
XYZxyz(19.4928, 17.1800, 47.0795)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DB7 #B7B066
analogous
#6695B7 #666DB7 #8766B7
triadic
#666DB7 #B7666D #6DB766
tetradic
#666DB7 #B76695 #B7B066 #66B787
square
#666DB7 #B76695 #B7B066 #66B787
split-complementary
#666DB7 #B78766 #95B766
monochromatic
#34396F #484F98 #666DB7 #9095CB #B9BCDE

Accessibility & contrast

On white

4.73
#666DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#666DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666DB7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DB7#FFFFFF#000000##FFFFFF
##666DB71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#4B7C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666db7;
/* rgb */ color: rgb(102, 109, 183);
/* oklch */ color: oklch(56.2% 0.114 278.0);
Tailwind
colors: {
  custom: {
    50: '#9696cd',
    500: '#666db7',
    950: '#000000',
  },
}
SCSS
$custom: #666db7;
$custom-light: #9696cd;
$custom-dark: #000000;
JSON
{
  "hex": "#666db7",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 234.815,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.1141,
    "h": 278
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#666DB7
secondary
#CDCAAC
accent
#C25CCC
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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