#666EE1#666EE1

#666EE1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.172 H 276.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#666EE1
RGBrgb(102, 110, 225)
HSLhsl(236, 67%, 64%)
HSVhsv(236, 55%, 88%)
CMYKcmyk(54.7%, 51.1%, 0%, 11.8%)
CIE-LABlab(51.16, 29.32, -59.78)
CIE-LCHlch(51.16, 66.58, 296.13°)
OKLaboklab(59.05% 0.0203 -0.1708)
OKLCHoklch(59.05% 0.172 276.8)
XYZxyz(24.6417, 19.4112, 73.6678)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE1 #E1D966
analogous
#66ABE1 #666EE1 #9C66E1
triadic
#666EE1 #E1666E #6EE166
tetradic
#666EE1 #E166AB #E1D966 #66E19C
square
#666EE1 #E166AB #E1D966 #66E19C
split-complementary
#666EE1 #E19C66 #ABE166
monochromatic
#222AAB #333ED7 #666EE1 #999EEB #CCCFF5

Accessibility & contrast

On white

4.30
#666EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#666EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EE1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EE1#FFFFFF#000000##000000
##666EE11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#27889D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666ee1;
/* rgb */ color: rgb(102, 110, 225);
/* oklch */ color: oklch(59.0% 0.172 276.8);
Tailwind
colors: {
  custom: {
    50: '#9b97eb',
    500: '#666ee1',
    950: '#000000',
  },
}
SCSS
$custom: #666ee1;
$custom-light: #9b97eb;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee1",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 225
  },
  "hsl": {
    "h": 236.098,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.17203,
    "h": 276.8
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#666EE1
secondary
#E7E4BC
accent
#C316CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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