#666FDC#666FDC

#666FDC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.164 H 276.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#666FDC
RGBrgb(102, 111, 220)
HSLhsl(235, 63%, 63%)
HSVhsv(235, 54%, 86%)
CMYKcmyk(53.6%, 49.5%, 0%, 13.7%)
CIE-LABlab(51.11, 27.13, -57.05)
CIE-LCHlch(51.11, 63.17, 295.43°)
OKLaboklab(58.9% 0.0188 -0.1628)
OKLCHoklch(58.9% 0.164 276.6)
XYZxyz(24.0781, 19.3594, 70.1642)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FDC #DCD366
analogous
#66AADC #666FDC #9866DC
triadic
#666FDC #DC666F #6FDC66
tetradic
#666FDC #DC66AA #DCD366 #66DC98
square
#666FDC #DC66AA #DCD366 #66DC98
split-complementary
#666FDC #DC9866 #AADC66
monochromatic
#252FA2 #3440D1 #666FDC #989EE7 #CACDF3

Accessibility & contrast

On white

4.31
#666FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#666FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FDC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FDC#FFFFFF#000000##000000
##666FDC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#2975DA
Tritanopia (blue-blind)
#2D879B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666fdc;
/* rgb */ color: rgb(102, 111, 220);
/* oklch */ color: oklch(58.9% 0.164 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a98e7',
    500: '#666fdc',
    950: '#000000',
  },
}
SCSS
$custom: #666fdc;
$custom-light: #9a98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#666fdc",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 235.424,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.589,
    "c": 0.16389,
    "h": 276.6
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#666FDC
secondary
#E4E1BA
accent
#BD1BCB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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