#666CCF#666CCF

#666CCF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.5% C 0.150 H 278.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#666CCF
RGBrgb(102, 108, 207)
HSLhsl(237, 52%, 61%)
HSVhsv(237, 51%, 81%)
CMYKcmyk(50.7%, 47.8%, 0%, 18.8%)
CIE-LABlab(49.56, 24.87, -52.14)
CIE-LCHlch(49.56, 57.77, 295.50°)
OKLaboklab(57.48% 0.0208 -0.1484)
OKLCHoklch(57.48% 0.15 278)
XYZxyz(22.1010, 18.0536, 61.3395)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CCF #CFC966
analogous
#66A1CF #666CCF #9466CF
triadic
#666CCF #CF666C #6CCF66
tetradic
#666CCF #CF66A1 #CFC966 #66CF94
square
#666CCF #CF66A1 #CFC966 #66CF94
split-complementary
#666CCF #CF9466 #A1CF66
monochromatic
#2D328E #3B43BD #666CCF #9599DE #C3C6EC

Accessibility & contrast

On white

4.55
#666CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#666CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CCF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CCF#FFFFFF#000000##000000
##666CCF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#3572CD
Tritanopia (blue-blind)
#3B8193
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666ccf;
/* rgb */ color: rgb(102, 108, 207);
/* oklch */ color: oklch(57.5% 0.150 278.0);
Tailwind
colors: {
  custom: {
    50: '#9896de',
    500: '#666ccf',
    950: '#000000',
  },
}
SCSS
$custom: #666ccf;
$custom-light: #9896de;
$custom-dark: #000000;
JSON
{
  "hex": "#666ccf",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 236.571,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.14985,
    "h": 278
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#666CCF
secondary
#DCDAB4
accent
#B726C0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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