#666DEA#666DEA

#666DEA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.185 H 276.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#666DEA
RGBrgb(102, 109, 234)
HSLhsl(237, 76%, 66%)
HSVhsv(237, 56%, 92%)
CMYKcmyk(56.4%, 53.4%, 0%, 8.2%)
CIE-LABlab(51.50, 32.78, -64.30)
CIE-LCHlch(51.50, 72.17, 297.01°)
OKLaboklab(59.48% 0.0218 -0.1841)
OKLCHoklch(59.48% 0.185 276.8)
XYZxyz(25.7947, 19.7008, 80.2693)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DEA #EAE366
analogous
#66AFEA #666DEA #A166EA
triadic
#666DEA #EA666D #6DEA66
tetradic
#666DEA #EA66AF #EAE366 #66EAA1
square
#666DEA #EA66AF #EAE366 #66EAA1
split-complementary
#666DEA #EAA166 #AFEA66
monochromatic
#1A22BC #303AE3 #666DEA #9CA0F1 #D2D4F9

Accessibility & contrast

On white

4.25
#666DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#666DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DEA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DEA#FFFFFF#000000##000000
##666DEA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80EE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#168AA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666dea;
/* rgb */ color: rgb(102, 109, 234);
/* oklch */ color: oklch(59.5% 0.185 276.8);
Tailwind
colors: {
  custom: {
    50: '#9c96f1',
    500: '#666dea',
    950: '#000000',
  },
}
SCSS
$custom: #666dea;
$custom-light: #9c96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#666dea",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 236.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.18544,
    "h": 276.8
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#666DEA
secondary
#ECE9C0
accent
#CD0DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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