#666BDF#666BDF

#666BDF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.173 H 277.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#666BDF
RGBrgb(102, 107, 223)
HSLhsl(238, 65%, 64%)
HSVhsv(238, 54%, 87%)
CMYKcmyk(54.3%, 52%, 0%, 12.5%)
CIE-LABlab(50.29, 30.51, -60.05)
CIE-LCHlch(50.29, 67.35, 296.93°)
OKLaboklab(58.35% 0.0233 -0.1717)
OKLCHoklch(58.35% 0.173 277.7)
XYZxyz(24.0523, 18.6663, 72.1333)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BDF #DFDA66
analogous
#66A7DF #666BDF #9D66DF
triadic
#666BDF #DF666B #6BDF66
tetradic
#666BDF #DF66A7 #DFDA66 #66DF9D
square
#666BDF #DF66A7 #DFDA66 #66DF9D
split-complementary
#666BDF #DF9D66 #A7DF66
monochromatic
#2329A8 #333AD4 #666BDF #999CEA #CBCDF4

Accessibility & contrast

On white

4.44
#666BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#666BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BDF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BDF#FFFFFF#000000##000000
##666BDF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#1473DD
Tritanopia (blue-blind)
#2A859B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666bdf;
/* rgb */ color: rgb(102, 107, 223);
/* oklch */ color: oklch(58.4% 0.173 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a95ea',
    500: '#666bdf',
    950: '#000000',
  },
}
SCSS
$custom: #666bdf;
$custom-light: #9a95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666bdf",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 237.521,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.17323,
    "h": 277.7
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#666BDF
secondary
#E6E4BB
accent
#C618CD
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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