#666FE0#666FE0

#666FE0 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.169 H 276.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#666FE0
RGBrgb(102, 111, 224)
HSLhsl(236, 66%, 64%)
HSVhsv(236, 54%, 88%)
CMYKcmyk(54.5%, 50.4%, 0%, 12.2%)
CIE-LABlab(51.35, 28.39, -58.91)
CIE-LCHlch(51.35, 65.40, 295.73°)
OKLaboklab(59.17% 0.0191 -0.1683)
OKLCHoklch(59.17% 0.169 276.5)
XYZxyz(24.6142, 19.5738, 72.9876)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE0 #E0D766
analogous
#66ACE0 #666FE0 #9A66E0
triadic
#666FE0 #E0666F #6FE066
tetradic
#666FE0 #E066AC #E0D766 #66E09A
square
#666FE0 #E066AC #E0D766 #66E09A
split-complementary
#666FE0 #E09A66 #ACE066
monochromatic
#222CA9 #333FD6 #666FE0 #999FEA #CCCFF5

Accessibility & contrast

On white

4.27
#666FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#666FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE0#FFFFFF#000000##000000
##666FE01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E4
Deuteranopia (green-blind)
#2275DE
Tritanopia (blue-blind)
#28889D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666fe0;
/* rgb */ color: rgb(102, 111, 224);
/* oklch */ color: oklch(59.2% 0.169 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a98ea',
    500: '#666fe0',
    950: '#000000',
  },
}
SCSS
$custom: #666fe0;
$custom-light: #9a98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe0",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 224
  },
  "hsl": {
    "h": 235.574,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.16936,
    "h": 276.5
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#666FE0
secondary
#E6E3BC
accent
#C117CE
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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