#666CF1#666CF1

#666CF1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.8% C 0.196 H 276.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#666CF1
RGBrgb(102, 108, 241)
HSLhsl(237, 83%, 67%)
HSVhsv(237, 58%, 95%)
CMYKcmyk(57.7%, 55.2%, 0%, 5.5%)
CIE-LABlab(51.72, 35.61, -67.85)
CIE-LCHlch(51.72, 76.63, 297.69°)
OKLaboklab(59.8% 0.023 -0.1946)
OKLCHoklch(59.8% 0.196 276.8)
XYZxyz(26.7141, 19.8988, 85.6352)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CF1 #F1EB66
analogous
#66B2F1 #666CF1 #A666F1
triadic
#666CF1 #F1666C #6CF166
tetradic
#666CF1 #F166B2 #F1EB66 #66F1A6
square
#666CF1 #F166B2 #F1EB66 #66F1A6
split-complementary
#666CF1 #F1A666 #B2F166
monochromatic
#121ACA #2E36EC #666CF1 #9EA2F6 #D6D8FB

Accessibility & contrast

On white

4.22
#666CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#666CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CF1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CF1#FFFFFF#000000##000000
##666CF11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666cf1;
/* rgb */ color: rgb(102, 108, 241);
/* oklch */ color: oklch(59.8% 0.196 276.8);
Tailwind
colors: {
  custom: {
    50: '#9d96f6',
    500: '#666cf1',
    950: '#000000',
  },
}
SCSS
$custom: #666cf1;
$custom-light: #9d96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#666cf1",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 237.41,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.19596,
    "h": 276.8
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#666CF1
secondary
#EFEDC3
accent
#D606E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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