#666FEE#666FEE

#666FEE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.188 H 276.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#666FEE
RGBrgb(102, 111, 238)
HSLhsl(236, 80%, 67%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(57.1%, 53.4%, 0%, 6.7%)
CIE-LABlab(52.25, 32.85, -65.33)
CIE-LCHlch(52.25, 73.12, 296.70°)
OKLaboklab(60.12% 0.02 -0.1871)
OKLCHoklch(60.12% 0.188 276.1)
XYZxyz(26.5916, 20.3648, 83.4019)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FEE #EEE566
analogous
#66B3EE #666FEE #A166EE
triadic
#666FEE #EE666F #6FEE66
tetradic
#666FEE #EE66B3 #EEE566 #66EEA1
square
#666FEE #EE66B3 #EEE566 #66EEA1
split-complementary
#666FEE #EEA166 #B3EE66
monochromatic
#1621C4 #2F3BE8 #666FEE #9DA3F4 #D4D7FA

Accessibility & contrast

On white

4.14
#666FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#666FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FEE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FEE#FFFFFF#000000##000000
##666FEE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#068CA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #666fee;
/* rgb */ color: rgb(102, 111, 238);
/* oklch */ color: oklch(60.1% 0.188 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c98f4',
    500: '#666fee',
    950: '#000000',
  },
}
SCSS
$custom: #666fee;
$custom-light: #9c98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666fee",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 236.029,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.18822,
    "h": 276.1
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#666FEE
secondary
#EEEBC2
accent
#CE09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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