#666ECF#666ECF

#666ECF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.147 H 277.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#666ECF
RGBrgb(102, 110, 207)
HSLhsl(235, 52%, 61%)
HSVhsv(235, 51%, 81%)
CMYKcmyk(50.7%, 46.9%, 0%, 18.8%)
CIE-LABlab(50.07, 23.65, -51.32)
CIE-LCHlch(50.07, 56.51, 294.74°)
OKLaboklab(57.87% 0.0185 -0.146)
OKLCHoklch(57.87% 0.147 277.2)
XYZxyz(22.3144, 18.4803, 61.4106)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ECF #CFC766
analogous
#66A2CF #666ECF #9366CF
triadic
#666ECF #CF666E #6ECF66
tetradic
#666ECF #CF66A2 #CFC766 #66CF93
square
#666ECF #CF66A2 #CFC766 #66CF93
split-complementary
#666ECF #CF9366 #A2CF66
monochromatic
#2D348E #3B45BD #666ECF #959ADE #C3C6EC

Accessibility & contrast

On white

4.47
#666ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#666ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666ECF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666ECF#FFFFFF#000000##000000
##666ECF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#3B8394
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666ecf;
/* rgb */ color: rgb(102, 110, 207);
/* oklch */ color: oklch(57.9% 0.147 277.2);
Tailwind
colors: {
  custom: {
    50: '#9897de',
    500: '#666ecf',
    950: '#000000',
  },
}
SCSS
$custom: #666ecf;
$custom-light: #9897de;
$custom-dark: #000000;
JSON
{
  "hex": "#666ecf",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 235.429,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.14715,
    "h": 277.2
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#666ECF
secondary
#DCD9B4
accent
#B426C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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