#666BE7#666BE7

#666BE7 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.9% C 0.184 H 277.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#666BE7
RGBrgb(102, 107, 231)
HSLhsl(238, 73%, 65%)
HSVhsv(238, 56%, 91%)
CMYKcmyk(55.8%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.81, 33.04, -63.72)
CIE-LCHlch(50.81, 71.77, 297.41°)
OKLaboklab(58.9% 0.0237 -0.1825)
OKLCHoklch(58.9% 0.184 277.4)
XYZxyz(25.1564, 19.1080, 77.9484)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BE7 #E7E266
analogous
#66ACE7 #666BE7 #A166E7
triadic
#666BE7 #E7666B #6BE766
tetradic
#666BE7 #E766AC #E7E266 #66E7A1
square
#666BE7 #E766AC #E7E266 #66E7A1
split-complementary
#666BE7 #E7A166 #ACE766
monochromatic
#1D23B6 #3138DF #666BE7 #9B9EEF #D0D1F8

Accessibility & contrast

On white

4.36
#666BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#666BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BE7#FFFFFF#000000##000000
##666BE71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#1E889F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666be7;
/* rgb */ color: rgb(102, 107, 231);
/* oklch */ color: oklch(58.9% 0.184 277.4);
Tailwind
colors: {
  custom: {
    50: '#9c95ef',
    500: '#666be7',
    950: '#000000',
  },
}
SCSS
$custom: #666be7;
$custom-light: #9c95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#666be7",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 237.674,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.18399,
    "h": 277.4
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#666BE7
secondary
#EAE8BF
accent
#CD11D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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