#666EDF#666EDF

#666EDF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.169 H 276.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#666EDF
RGBrgb(102, 110, 223)
HSLhsl(236, 65%, 64%)
HSVhsv(236, 54%, 87%)
CMYKcmyk(54.3%, 50.7%, 0%, 12.5%)
CIE-LABlab(51.04, 28.68, -58.85)
CIE-LCHlch(51.04, 65.47, 295.99°)
OKLaboklab(58.91% 0.0201 -0.1681)
OKLCHoklch(58.91% 0.169 276.8)
XYZxyz(24.3705, 19.3027, 72.2393)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EDF #DFD766
analogous
#66AADF #666EDF #9A66DF
triadic
#666EDF #DF666E #6EDF66
tetradic
#666EDF #DF66AA #DFD766 #66DF9A
square
#666EDF #DF66AA #DFD766 #66DF9A
split-complementary
#666EDF #DF9A66 #AADF66
monochromatic
#232CA8 #333ED4 #666EDF #999EEA #CBCEF4

Accessibility & contrast

On white

4.32
#666EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#666EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EDF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EDF#FFFFFF#000000##000000
##666EDF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#2A879C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666edf;
/* rgb */ color: rgb(102, 110, 223);
/* oklch */ color: oklch(58.9% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a97ea',
    500: '#666edf',
    950: '#000000',
  },
}
SCSS
$custom: #666edf;
$custom-light: #9a97ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666edf",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 236.033,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.16931,
    "h": 276.8
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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