#666CB7#666CB7

#666CB7 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 56.0% C 0.116 H 278.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#666CB7
RGBrgb(102, 108, 183)
HSLhsl(236, 36%, 56%)
HSVhsv(236, 44%, 72%)
CMYKcmyk(44.3%, 41%, 0%, 28.2%)
CIE-LABlab(48.22, 17.52, -40.47)
CIE-LCHlch(48.22, 44.10, 293.40°)
OKLaboklab(56.03% 0.0171 -0.1142)
OKLCHoklch(56.03% 0.116 278.5)
XYZxyz(19.3867, 16.9679, 47.0442)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CB7 #B7B166
analogous
#6694B7 #666CB7 #8866B7
triadic
#666CB7 #B7666C #6CB766
tetradic
#666CB7 #B76694 #B7B166 #66B788
square
#666CB7 #B76694 #B7B166 #66B788
split-complementary
#666CB7 #B78866 #94B766
monochromatic
#34386F #484E98 #666CB7 #9094CB #B9BCDE

Accessibility & contrast

On white

4.78
#666CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#666CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CB7#FFFFFF#000000##FFFFFF
##666CB71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BA
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#4B7B89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666cb7;
/* rgb */ color: rgb(102, 108, 183);
/* oklch */ color: oklch(56.0% 0.116 278.5);
Tailwind
colors: {
  custom: {
    50: '#9696cd',
    500: '#666cb7',
    950: '#000000',
  },
}
SCSS
$custom: #666cb7;
$custom-light: #9696cd;
$custom-dark: #000000;
JSON
{
  "hex": "#666cb7",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 235.556,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.1155,
    "h": 278.5
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#666CB7
secondary
#CDCBAC
accent
#C45CCC
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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