#666BDE#666BDE

#666BDE is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.172 H 277.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#666BDE
RGBrgb(102, 107, 222)
HSLhsl(238, 65%, 64%)
HSVhsv(238, 54%, 87%)
CMYKcmyk(54.1%, 51.8%, 0%, 12.9%)
CIE-LABlab(50.23, 30.19, -59.59)
CIE-LCHlch(50.23, 66.80, 296.87°)
OKLaboklab(58.28% 0.0232 -0.1703)
OKLCHoklch(58.28% 0.172 277.8)
XYZxyz(23.9178, 18.6125, 71.4253)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BDE #DED966
analogous
#66A7DE #666BDE #9D66DE
triadic
#666BDE #DE666B #6BDE66
tetradic
#666BDE #DE66A7 #DED966 #66DE9D
square
#666BDE #DE66A7 #DED966 #66DE9D
split-complementary
#666BDE #DE9D66 #A7DE66
monochromatic
#2429A6 #343AD3 #666BDE #989CE9 #CBCCF4

Accessibility & contrast

On white

4.45
#666BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#666BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BDE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BDE#FFFFFF#000000##000000
##666BDE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE2
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#2C859A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666bde;
/* rgb */ color: rgb(102, 107, 222);
/* oklch */ color: oklch(58.3% 0.172 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a95e9',
    500: '#666bde',
    950: '#000000',
  },
}
SCSS
$custom: #666bde;
$custom-light: #9a95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#666bde",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 237.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.17187,
    "h": 277.8
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#666BDE
secondary
#E5E3BB
accent
#C519CC
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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