#666BE2#666BE2

#666BE2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.177 H 277.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#666BE2
RGBrgb(102, 107, 226)
HSLhsl(238, 68%, 64%)
HSVhsv(238, 55%, 89%)
CMYKcmyk(54.9%, 52.7%, 0%, 11.4%)
CIE-LABlab(50.49, 31.45, -61.43)
CIE-LCHlch(50.49, 69.02, 297.11°)
OKLaboklab(58.56% 0.0235 -0.1757)
OKLCHoklch(58.56% 0.177 277.6)
XYZxyz(24.4603, 18.8295, 74.2823)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BE2 #E2DD66
analogous
#66A9E2 #666BE2 #9F66E2
triadic
#666BE2 #E2666B #6BE266
tetradic
#666BE2 #E266A9 #E2DD66 #66E29F
square
#666BE2 #E266A9 #E2DD66 #66E29F
split-complementary
#666BE2 #E29F66 #A9E266
monochromatic
#2126AD #3339D8 #666BE2 #999DEC #CDCFF6

Accessibility & contrast

On white

4.41
#666BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#666BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BE2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BE2#FFFFFF#000000##000000
##666BE21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#0673DF
Tritanopia (blue-blind)
#26869C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666be2;
/* rgb */ color: rgb(102, 107, 226);
/* oklch */ color: oklch(58.6% 0.177 277.6);
Tailwind
colors: {
  custom: {
    50: '#9b95ec',
    500: '#666be2',
    950: '#000000',
  },
}
SCSS
$custom: #666be2;
$custom-light: #9b95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666be2",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 237.581,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.17729,
    "h": 277.6
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#666BE2
secondary
#E7E6BC
accent
#C915D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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