#666BEE#666BEE

#666BEE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.193 H 277.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#666BEE
RGBrgb(102, 107, 238)
HSLhsl(238, 80%, 67%)
HSVhsv(238, 57%, 93%)
CMYKcmyk(57.1%, 55%, 0%, 6.7%)
CIE-LABlab(51.28, 35.26, -66.89)
CIE-LCHlch(51.28, 75.61, 297.80°)
OKLaboklab(59.4% 0.0239 -0.1918)
OKLCHoklch(59.4% 0.193 277.1)
XYZxyz(26.1649, 19.5113, 83.2596)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BEE #EEE966
analogous
#66AFEE #666BEE #A566EE
triadic
#666BEE #EE666B #6BEE66
tetradic
#666BEE #EE66AF #EEE966 #66EEA5
square
#666BEE #EE66AF #EEE966 #66EEA5
split-complementary
#666BEE #EEA566 #AFEE66
monochromatic
#161CC4 #2F36E8 #666BEE #9DA0F4 #D4D6FA

Accessibility & contrast

On white

4.28
#666BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#666BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BEE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BEE#FFFFFF#000000##000000
##666BEE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#098AA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666bee;
/* rgb */ color: rgb(102, 107, 238);
/* oklch */ color: oklch(59.4% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#9d95f4',
    500: '#666bee',
    950: '#000000',
  },
}
SCSS
$custom: #666bee;
$custom-light: #9d95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666bee",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 237.794,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.19328,
    "h": 277.1
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#666BEE
secondary
#EEECC2
accent
#D509DC
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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