#666AEB#666AEB

#666AEB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.0% C 0.191 H 277.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#666AEB
RGBrgb(102, 106, 235)
HSLhsl(238, 77%, 66%)
HSVhsv(238, 57%, 92%)
CMYKcmyk(56.6%, 54.9%, 0%, 7.8%)
CIE-LABlab(50.84, 34.91, -65.92)
CIE-LCHlch(50.84, 74.60, 297.90°)
OKLaboklab(59.01% 0.0248 -0.189)
OKLCHoklch(59.01% 0.191 277.5)
XYZxyz(25.6241, 19.1292, 80.9232)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AEB #EBE766
analogous
#66ADEB #666AEB #A466EB
triadic
#666AEB #EB666A #6AEB66
tetradic
#666AEB #EB66AD #EBE766 #66EBA4
square
#666AEB #EB66AD #EBE766 #66EBA4
split-complementary
#666AEB #EBA466 #ADEB66
monochromatic
#191EBE #3035E4 #666AEB #9C9FF2 #D2D3F9

Accessibility & contrast

On white

4.35
#666AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#666AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AEB#FFFFFF#000000##000000
##666AEB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FEF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#1488A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666aeb;
/* rgb */ color: rgb(102, 106, 235);
/* oklch */ color: oklch(59.0% 0.191 277.5);
Tailwind
colors: {
  custom: {
    50: '#9c94f2',
    500: '#666aeb',
    950: '#000000',
  },
}
SCSS
$custom: #666aeb;
$custom-light: #9c94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#666aeb",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 238.195,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.19058,
    "h": 277.5
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#666AEB
secondary
#ECEBC1
accent
#D30CD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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