#666FDF#666FDF

#666FDF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.168 H 276.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#666FDF
RGBrgb(102, 111, 223)
HSLhsl(236, 65%, 64%)
HSVhsv(236, 54%, 87%)
CMYKcmyk(54.3%, 50.2%, 0%, 12.5%)
CIE-LABlab(51.29, 28.08, -58.45)
CIE-LCHlch(51.29, 64.84, 295.66°)
OKLaboklab(59.1% 0.019 -0.1669)
OKLCHoklch(59.1% 0.168 276.5)
XYZxyz(24.4790, 19.5197, 72.2755)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FDF #DFD666
analogous
#66ABDF #666FDF #9966DF
triadic
#666FDF #DF666F #6FDF66
tetradic
#666FDF #DF66AB #DFD666 #66DF99
square
#666FDF #DF66AB #DFD666 #66DF99
split-complementary
#666FDF #DF9966 #ABDF66
monochromatic
#232DA8 #333FD4 #666FDF #999FEA #CBCEF4

Accessibility & contrast

On white

4.28
#666FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#666FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FDF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FDF#FFFFFF#000000##000000
##666FDF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#2475DD
Tritanopia (blue-blind)
#2A889C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666fdf;
/* rgb */ color: rgb(102, 111, 223);
/* oklch */ color: oklch(59.1% 0.168 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a98ea',
    500: '#666fdf',
    950: '#000000',
  },
}
SCSS
$custom: #666fdf;
$custom-light: #9a98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666fdf",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 235.537,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.168,
    "h": 276.5
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#666FDF
secondary
#E6E3BB
accent
#C018CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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