#666FE9#666FE9

#666FE9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.182 H 276.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#666FE9
RGBrgb(102, 111, 233)
HSLhsl(236, 75%, 66%)
HSVhsv(236, 56%, 91%)
CMYKcmyk(56.2%, 52.4%, 0%, 8.6%)
CIE-LABlab(51.92, 31.25, -63.05)
CIE-LCHlch(51.92, 70.37, 296.37°)
OKLaboklab(59.78% 0.0198 -0.1805)
OKLCHoklch(59.78% 0.182 276.2)
XYZxyz(25.8672, 20.0750, 79.5868)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE9 #E9E066
analogous
#66B0E9 #666FE9 #9E66E9
triadic
#666FE9 #E9666F #6FE966
tetradic
#666FE9 #E966B0 #E9E066 #66E99E
square
#666FE9 #E966B0 #E9E066 #66E99E
split-complementary
#666FE9 #E99E66 #B0E966
monochromatic
#1B26BA #303DE1 #666FE9 #9CA1F1 #D1D4F8

Accessibility & contrast

On white

4.19
#666FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#666FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE9#FFFFFF#000000##000000
##666FE91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#188BA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666fe9;
/* rgb */ color: rgb(102, 111, 233);
/* oklch */ color: oklch(59.8% 0.182 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c98f1',
    500: '#666fe9',
    950: '#000000',
  },
}
SCSS
$custom: #666fe9;
$custom-light: #9c98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe9",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 235.878,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.18154,
    "h": 276.2
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#666FE9
secondary
#EBE8C0
accent
#C90ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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