#666FCC#666FCC

#666FCC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.142 H 276.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666FCC
RGBrgb(102, 111, 204)
HSLhsl(235, 50%, 60%)
HSVhsv(235, 50%, 80%)
CMYKcmyk(50%, 45.6%, 0%, 20%)
CIE-LABlab(50.16, 22.10, -49.48)
CIE-LCHlch(50.16, 54.19, 294.07°)
OKLaboklab(57.88% 0.0169 -0.1406)
OKLCHoklch(57.88% 0.142 276.9)
XYZxyz(22.0596, 18.5520, 59.5335)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FCC #CCC366
analogous
#66A2CC #666FCC #9066CC
triadic
#666FCC #CC666F #6FCC66
tetradic
#666FCC #CC66A2 #CCC366 #66CC90
square
#666FCC #CC66A2 #CCC366 #66CC90
split-complementary
#666FCC #CC9066 #A2CC66
monochromatic
#2E368A #3D48B8 #666FCC #949ADB #C2C5EB

Accessibility & contrast

On white

4.46
#666FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#666FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FCC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FCC#FFFFFF#000000##000000
##666FCC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CCF
Deuteranopia (green-blind)
#3E73CA
Tritanopia (blue-blind)
#3D8394
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666fcc;
/* rgb */ color: rgb(102, 111, 204);
/* oklch */ color: oklch(57.9% 0.142 276.9);
Tailwind
colors: {
  custom: {
    50: '#9898dc',
    500: '#666fcc',
    950: '#000000',
  },
}
SCSS
$custom: #666fcc;
$custom-light: #9898dc;
$custom-dark: #000000;
JSON
{
  "hex": "#666fcc",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 234.706,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.14157,
    "h": 276.9
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#666FCC
secondary
#DBD7B3
accent
#CD4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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