#666FD8#666FD8

#666FD8 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.158 H 276.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#666FD8
RGBrgb(102, 111, 216)
HSLhsl(235, 59%, 62%)
HSVhsv(235, 53%, 85%)
CMYKcmyk(52.8%, 48.6%, 0%, 15.3%)
CIE-LABlab(50.86, 25.86, -55.18)
CIE-LCHlch(50.86, 60.94, 295.11°)
OKLaboklab(58.64% 0.0184 -0.1573)
OKLCHoklch(58.64% 0.158 276.7)
XYZxyz(23.5547, 19.1500, 67.4076)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD8 #D8CF66
analogous
#66A8D8 #666FD8 #9666D8
triadic
#666FD8 #D8666F #6FD866
tetradic
#666FD8 #D866A8 #D8CF66 #66D896
square
#666FD8 #D866A8 #D8CF66 #66D896
split-complementary
#666FD8 #D89666 #A8D866
monochromatic
#28319C #3541CC #666FD8 #979DE4 #C8CBF1

Accessibility & contrast

On white

4.35
#666FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#666FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD8#FFFFFF#000000##000000
##666FD81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDC
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#328699
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666fd8;
/* rgb */ color: rgb(102, 111, 216);
/* oklch */ color: oklch(58.6% 0.158 276.7);
Tailwind
colors: {
  custom: {
    50: '#9998e5',
    500: '#666fd8',
    950: '#000000',
  },
}
SCSS
$custom: #666fd8;
$custom-light: #9998e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd8",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 235.263,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.15837,
    "h": 276.7
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#666FD8
secondary
#E2DEB8
accent
#BA1EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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