#666EB4#666EB4

#666EB4 is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.3% C 0.108 H 277.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666EB4
RGBrgb(102, 110, 180)
HSLhsl(234, 34%, 55%)
HSVhsv(234, 43%, 71%)
CMYKcmyk(43.3%, 38.9%, 0%, 29.4%)
CIE-LABlab(48.60, 15.39, -38.13)
CIE-LCHlch(48.60, 41.12, 291.98°)
OKLaboklab(56.27% 0.0139 -0.1074)
OKLCHoklch(56.27% 0.108 277.4)
XYZxyz(19.2912, 17.2710, 45.4883)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EB4 #B4AC66
analogous
#6695B4 #666EB4 #8566B4
triadic
#666EB4 #B4666E #6EB466
tetradic
#666EB4 #B46695 #B4AC66 #66B485
square
#666EB4 #B46695 #B4AC66 #66B485
split-complementary
#666EB4 #B48566 #95B466
monochromatic
#343A6B #495094 #666EB4 #8F95C8 #B8BCDC

Accessibility & contrast

On white

4.71
#666EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#666EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666EB4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EB4#FFFFFF#000000##FFFFFF
##666EB41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5577B7
Deuteranopia (green-blind)
#4F71B2
Tritanopia (blue-blind)
#4D7C88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666eb4;
/* rgb */ color: rgb(102, 110, 180);
/* oklch */ color: oklch(56.3% 0.108 277.4);
Tailwind
colors: {
  custom: {
    50: '#9597cb',
    500: '#666eb4',
    950: '#000000',
  },
}
SCSS
$custom: #666eb4;
$custom-light: #9597cb;
$custom-dark: #000000;
JSON
{
  "hex": "#666eb4",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 233.846,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.10829,
    "h": 277.4
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#666EB4
secondary
#CBC8AB
accent
#BF5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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