#666CE2#666CE2

#666CE2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.176 H 277.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#666CE2
RGBrgb(102, 108, 226)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 55%, 89%)
CMYKcmyk(54.9%, 52.2%, 0%, 11.4%)
CIE-LABlab(50.73, 30.85, -61.04)
CIE-LCHlch(50.73, 68.39, 296.81°)
OKLaboklab(58.74% 0.0224 -0.1745)
OKLCHoklch(58.74% 0.176 277.3)
XYZxyz(24.5652, 19.0392, 74.3172)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CE2 #E2DC66
analogous
#66AAE2 #666CE2 #9E66E2
triadic
#666CE2 #E2666C #6CE266
tetradic
#666CE2 #E266AA #E2DC66 #66E29E
square
#666CE2 #E266AA #E2DC66 #66E29E
split-complementary
#666CE2 #E29E66 #AAE266
monochromatic
#2128AD #333BD8 #666CE2 #999DEC #CDCFF6

Accessibility & contrast

On white

4.37
#666CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#666CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CE2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CE2#FFFFFF#000000##000000
##666CE21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297EE6
Deuteranopia (green-blind)
#0E74E0
Tritanopia (blue-blind)
#26879D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666ce2;
/* rgb */ color: rgb(102, 108, 226);
/* oklch */ color: oklch(58.7% 0.176 277.3);
Tailwind
colors: {
  custom: {
    50: '#9b96ec',
    500: '#666ce2',
    950: '#000000',
  },
}
SCSS
$custom: #666ce2;
$custom-light: #9b96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666ce2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 237.097,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.17598,
    "h": 277.3
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#666CE2
secondary
#E7E5BC
accent
#C715D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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