#666BC7#666BC7

#666BC7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.140 H 278.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#666BC7
RGBrgb(102, 107, 199)
HSLhsl(237, 46%, 59%)
HSVhsv(237, 49%, 78%)
CMYKcmyk(48.7%, 46.2%, 0%, 22%)
CIE-LABlab(48.84, 23.00, -48.72)
CIE-LCHlch(48.84, 53.88, 295.27°)
OKLaboklab(56.78% 0.0209 -0.1384)
OKLCHoklch(56.78% 0.14 278.6)
XYZxyz(21.0428, 17.4625, 56.2836)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BC7 #C7C266
analogous
#669CC7 #666BC7 #9266C7
triadic
#666BC7 #C7666B #6BC766
tetradic
#666BC7 #C7669C #C7C266 #66C792
square
#666BC7 #C7669C #C7C266 #66C792
split-complementary
#666BC7 #C79266 #9CC766
monochromatic
#303483 #4046B0 #666BC7 #9396D7 #C0C2E8

Accessibility & contrast

On white

4.67
#666BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#666BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BC7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BC7#FFFFFF#000000##FFFFFF
##666BC71.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4478CA
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#417F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #666bc7;
/* rgb */ color: rgb(102, 107, 199);
/* oklch */ color: oklch(56.8% 0.140 278.6);
Tailwind
colors: {
  custom: {
    50: '#9795d8',
    500: '#666bc7',
    950: '#000000',
  },
}
SCSS
$custom: #666bc7;
$custom-light: #9795d8;
$custom-dark: #000000;
JSON
{
  "hex": "#666bc7",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 236.907,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.13995,
    "h": 278.6
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#666BC7
secondary
#D7D5B1
accent
#CF52D6
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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