#666DCF#666DCF

#666DCF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.7% C 0.149 H 277.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#666DCF
RGBrgb(102, 109, 207)
HSLhsl(236, 52%, 61%)
HSVhsv(236, 51%, 81%)
CMYKcmyk(50.7%, 47.3%, 0%, 18.8%)
CIE-LABlab(49.82, 24.26, -51.73)
CIE-LCHlch(49.82, 57.14, 295.13°)
OKLaboklab(57.68% 0.0196 -0.1472)
OKLCHoklch(57.68% 0.149 277.6)
XYZxyz(22.2071, 18.2657, 61.3749)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DCF #CFC866
analogous
#66A1CF #666DCF #9366CF
triadic
#666DCF #CF666D #6DCF66
tetradic
#666DCF #CF66A1 #CFC866 #66CF93
square
#666DCF #CF66A1 #CFC866 #66CF93
split-complementary
#666DCF #CF9366 #A1CF66
monochromatic
#2D338E #3B44BD #666DCF #9599DE #C3C6EC

Accessibility & contrast

On white

4.51
#666DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#666DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DCF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DCF#FFFFFF#000000##000000
##666DCF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#3772CD
Tritanopia (blue-blind)
#3B8294
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666dcf;
/* rgb */ color: rgb(102, 109, 207);
/* oklch */ color: oklch(57.7% 0.149 277.6);
Tailwind
colors: {
  custom: {
    50: '#9896de',
    500: '#666dcf',
    950: '#000000',
  },
}
SCSS
$custom: #666dcf;
$custom-light: #9896de;
$custom-dark: #000000;
JSON
{
  "hex": "#666dcf",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 236,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.14851,
    "h": 277.6
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#666DCF
secondary
#DCDAB4
accent
#B526C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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