#666FD9#666FD9

#666FD9 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.160 H 276.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#666FD9
RGBrgb(102, 111, 217)
HSLhsl(235, 60%, 63%)
HSVhsv(235, 53%, 85%)
CMYKcmyk(53%, 48.8%, 0%, 14.9%)
CIE-LABlab(50.92, 26.18, -55.65)
CIE-LCHlch(50.92, 61.50, 295.19°)
OKLaboklab(58.7% 0.0185 -0.1587)
OKLCHoklch(58.7% 0.16 276.6)
XYZxyz(23.6843, 19.2019, 68.0905)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD9 #D9D066
analogous
#66A9D9 #666FD9 #9666D9
triadic
#666FD9 #D9666F #6FD966
tetradic
#666FD9 #D966A9 #D9D066 #66D996
square
#666FD9 #D966A9 #D9D066 #66D996
split-complementary
#666FD9 #D99666 #A9D966
monochromatic
#27309D #3541CD #666FD9 #979DE5 #C8CBF1

Accessibility & contrast

On white

4.34
#666FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#666FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD9#FFFFFF#000000##000000
##666FD91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDD
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#31869A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666fd9;
/* rgb */ color: rgb(102, 111, 217);
/* oklch */ color: oklch(58.7% 0.160 276.6);
Tailwind
colors: {
  custom: {
    50: '#9998e5',
    500: '#666fd9',
    950: '#000000',
  },
}
SCSS
$custom: #666fd9;
$custom-light: #9998e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd9",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 217
  },
  "hsl": {
    "h": 235.304,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.15975,
    "h": 276.6
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#666FD9
secondary
#E2DFB8
accent
#BB1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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