#666DB2#666DB2

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

Color values

HEX#666DB2
RGBrgb(102, 109, 178)
HSLhsl(234, 33%, 55%)
HSVhsv(234, 43%, 70%)
CMYKcmyk(42.7%, 38.8%, 0%, 30.2%)
CIE-LABlab(48.23, 15.41, -37.56)
CIE-LCHlch(48.23, 40.59, 292.31°)
OKLaboklab(55.95% 0.0148 -0.1057)
OKLCHoklch(55.95% 0.107 278)
XYZxyz(18.9816, 16.9755, 44.3873)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DB2 #B2AB66
analogous
#6693B2 #666DB2 #8566B2
triadic
#666DB2 #B2666D #6DB266
tetradic
#666DB2 #B26693 #B2AB66 #66B285
square
#666DB2 #B26693 #B2AB66 #66B285
split-complementary
#666DB2 #B28566 #93B266
monochromatic
#353A69 #495092 #666DB2 #8F94C6 #B7BBDB

Accessibility & contrast

On white

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

On black

4.40
#666DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666DB2#FFFFFF#000000##FFFFFF
##666DB21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#4E7B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666db2;
/* rgb */ color: rgb(102, 109, 178);
/* oklch */ color: oklch(56.0% 0.107 278.0);
Tailwind
colors: {
  custom: {
    50: '#9596c9',
    500: '#666db2',
    950: '#000000',
  },
}
SCSS
$custom: #666db2;
$custom-light: #9596c9;
$custom-dark: #000000;
JSON
{
  "hex": "#666db2",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 234.474,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.10675,
    "h": 278
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#666DB2
secondary
#CAC7AA
accent
#BF5FC9
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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