#666EE4#666EE4

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

Color values

HEX#666EE4
RGBrgb(102, 110, 228)
HSLhsl(236, 70%, 65%)
HSVhsv(236, 55%, 89%)
CMYKcmyk(55.3%, 51.8%, 0%, 10.6%)
CIE-LABlab(51.35, 30.27, -61.16)
CIE-LCHlch(51.35, 68.24, 296.33°)
OKLaboklab(59.25% 0.0205 -0.1749)
OKLCHoklch(59.25% 0.176 276.7)
XYZxyz(25.0545, 19.5764, 75.8421)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE4 #E4DC66
analogous
#66ADE4 #666EE4 #9D66E4
triadic
#666EE4 #E4666E #6EE466
tetradic
#666EE4 #E466AD #E4DC66 #66E49D
square
#666EE4 #E466AD #E4DC66 #66E49D
split-complementary
#666EE4 #E49D66 #ADE466
monochromatic
#1F28B0 #323DDB #666EE4 #9A9FED #CED1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666EE4#FFFFFF#000000##000000
##666EE41.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)
#2C80E8
Deuteranopia (green-blind)
#1275E2
Tritanopia (blue-blind)
#22899E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666ee4;
/* rgb */ color: rgb(102, 110, 228);
/* oklch */ color: oklch(59.2% 0.176 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b97ed',
    500: '#666ee4',
    950: '#000000',
  },
}
SCSS
$custom: #666ee4;
$custom-light: #9b97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee4",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 236.19,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.17609,
    "h": 276.7
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#666EE4
secondary
#E9E6BD
accent
#C614D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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