#666BEA#666BEA

#666BEA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.188 H 277.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#666BEA
RGBrgb(102, 107, 234)
HSLhsl(238, 76%, 66%)
HSVhsv(238, 56%, 92%)
CMYKcmyk(56.4%, 54.3%, 0%, 8.2%)
CIE-LABlab(51.01, 33.99, -65.08)
CIE-LCHlch(51.01, 73.42, 297.58°)
OKLaboklab(59.12% 0.0238 -0.1865)
OKLCHoklch(59.12% 0.188 277.3)
XYZxyz(25.5837, 19.2789, 80.1990)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BEA #EAE566
analogous
#66ADEA #666BEA #A366EA
triadic
#666BEA #EA666B #6BEA66
tetradic
#666BEA #EA66AD #EAE566 #66EAA3
square
#666BEA #EA66AD #EAE566 #66EAA3
split-complementary
#666BEA #EAA366 #ADEA66
monochromatic
#1A20BC #3037E3 #666BEA #9C9FF1 #D2D3F9

Accessibility & contrast

On white

4.32
#666BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#666BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BEA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BEA#FFFFFF#000000##000000
##666BEA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#1788A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666bea;
/* rgb */ color: rgb(102, 107, 234);
/* oklch */ color: oklch(59.1% 0.188 277.3);
Tailwind
colors: {
  custom: {
    50: '#9c95f1',
    500: '#666bea',
    950: '#000000',
  },
}
SCSS
$custom: #666bea;
$custom-light: #9c95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#666bea",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 237.727,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.18798,
    "h": 277.3
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#666BEA
secondary
#ECEAC0
accent
#D00DD8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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