#666FC7#666FC7

#666FC7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.6% C 0.134 H 276.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#666FC7
RGBrgb(102, 111, 199)
HSLhsl(234, 46%, 59%)
HSVhsv(234, 49%, 78%)
CMYKcmyk(48.7%, 44.2%, 0%, 22%)
CIE-LABlab(49.88, 20.55, -47.06)
CIE-LCHlch(49.88, 51.36, 293.59°)
OKLaboklab(57.57% 0.0162 -0.1335)
OKLCHoklch(57.57% 0.134 276.9)
XYZxyz(21.4695, 18.3160, 56.4258)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FC7 #C7BE66
analogous
#66A0C7 #666FC7 #8E66C7
triadic
#666FC7 #C7666F #6FC766
tetradic
#666FC7 #C766A0 #C7BE66 #66C78E
square
#666FC7 #C766A0 #C7BE66 #66C78E
split-complementary
#666FC7 #C78E66 #A0C766
monochromatic
#303883 #404BB0 #666FC7 #9399D7 #C0C3E8

Accessibility & contrast

On white

4.50
#666FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#666FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FC7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FC7#FFFFFF#000000##000000
##666FC71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#418291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666fc7;
/* rgb */ color: rgb(102, 111, 199);
/* oklch */ color: oklch(57.6% 0.134 276.9);
Tailwind
colors: {
  custom: {
    50: '#9798d8',
    500: '#666fc7',
    950: '#000000',
  },
}
SCSS
$custom: #666fc7;
$custom-light: #9798d8;
$custom-dark: #000000;
JSON
{
  "hex": "#666fc7",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 234.433,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.13446,
    "h": 276.9
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#666FC7
secondary
#D7D4B1
accent
#CA52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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