#666FE2#666FE2

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

Color values

HEX#666FE2
RGBrgb(102, 111, 226)
HSLhsl(236, 68%, 64%)
HSVhsv(236, 55%, 89%)
CMYKcmyk(54.9%, 50.9%, 0%, 11.4%)
CIE-LABlab(51.48, 29.03, -59.84)
CIE-LCHlch(51.48, 66.51, 295.88°)
OKLaboklab(59.3% 0.0193 -0.171)
OKLCHoklch(59.3% 0.172 276.4)
XYZxyz(24.8870, 19.6830, 74.4245)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE2 #E2D966
analogous
#66ADE2 #666FE2 #9B66E2
triadic
#666FE2 #E2666F #6FE266
tetradic
#666FE2 #E266AD #E2D966 #66E29B
square
#666FE2 #E266AD #E2D966 #66E29B
split-complementary
#666FE2 #E29B66 #ADE266
monochromatic
#212BAD #333FD8 #666FE2 #999FEC #CDD0F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666FE2#FFFFFF#000000##000000
##666FE21.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)
#3280E6
Deuteranopia (green-blind)
#1D76E0
Tritanopia (blue-blind)
#25899E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666fe2;
/* rgb */ color: rgb(102, 111, 226);
/* oklch */ color: oklch(59.3% 0.172 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b98ec',
    500: '#666fe2',
    950: '#000000',
  },
}
SCSS
$custom: #666fe2;
$custom-light: #9b98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe2",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 235.645,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.593,
    "c": 0.17209,
    "h": 276.4
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#666FE2
secondary
#E7E4BC
accent
#C315D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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