#666BB2#666BB2

#666BB2 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.5% C 0.110 H 279.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#666BB2
RGBrgb(102, 107, 178)
HSLhsl(236, 33%, 55%)
HSVhsv(236, 43%, 70%)
CMYKcmyk(42.7%, 39.9%, 0%, 30.2%)
CIE-LABlab(47.69, 16.64, -38.40)
CIE-LCHlch(47.69, 41.85, 293.42°)
OKLaboklab(55.54% 0.0174 -0.1082)
OKLCHoklch(55.54% 0.11 279.1)
XYZxyz(18.7707, 16.5537, 44.3170)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BB2 #B2AD66
analogous
#6691B2 #666BB2 #8766B2
triadic
#666BB2 #B2666B #6BB266
tetradic
#666BB2 #B26691 #B2AD66 #66B287
square
#666BB2 #B26691 #B2AD66 #66B287
split-complementary
#666BB2 #B28766 #91B266
monochromatic
#353869 #494E92 #666BB2 #8F92C6 #B7BADB

Accessibility & contrast

On white

4.87
#666BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#666BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BB2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BB2#FFFFFF#000000##FFFFFF
##666BB21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#4E7986
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #666bb2;
/* rgb */ color: rgb(102, 107, 178);
/* oklch */ color: oklch(55.5% 0.110 279.1);
Tailwind
colors: {
  custom: {
    50: '#9595c9',
    500: '#666bb2',
    950: '#000000',
  },
}
SCSS
$custom: #666bb2;
$custom-light: #9595c9;
$custom-dark: #000000;
JSON
{
  "hex": "#666bb2",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 236.053,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.10958,
    "h": 279.1
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#666BB2
secondary
#CAC8AA
accent
#C25FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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