#666FED#666FED

#666FED is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.1% C 0.187 H 276.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#666FED
RGBrgb(102, 111, 237)
HSLhsl(236, 79%, 66%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(57%, 53.2%, 0%, 7.1%)
CIE-LABlab(52.18, 32.53, -64.87)
CIE-LCHlch(52.18, 72.57, 296.63°)
OKLaboklab(60.05% 0.02 -0.1858)
OKLCHoklch(60.05% 0.187 276.1)
XYZxyz(26.4451, 20.3062, 82.6303)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FED #EDE466
analogous
#66B3ED #666FED #A166ED
triadic
#666FED #ED666F #6FED66
tetradic
#666FED #ED66B3 #EDE466 #66EDA1
square
#666FED #ED66B3 #EDE466 #66EDA1
split-complementary
#666FED #EDA166 #B3ED66
monochromatic
#1722C2 #2F3BE7 #666FED #9DA3F3 #D4D6FA

Accessibility & contrast

On white

4.15
#666FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#666FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FED
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FED#FFFFFF#000000##000000
##666FED1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#0B8CA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666fed;
/* rgb */ color: rgb(102, 111, 237);
/* oklch */ color: oklch(60.1% 0.187 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c98f4',
    500: '#666fed',
    950: '#000000',
  },
}
SCSS
$custom: #666fed;
$custom-light: #9c98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666fed",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 236,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.18689,
    "h": 276.1
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#666FED
secondary
#EDEAC2
accent
#CD0ADB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FED

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

Preview Lab → · Contrast checker → · Palette generator →

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