#666CF0#666CF0

#666CF0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.195 H 276.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#666CF0
RGBrgb(102, 108, 240)
HSLhsl(237, 82%, 67%)
HSVhsv(237, 58%, 94%)
CMYKcmyk(57.5%, 55%, 0%, 5.9%)
CIE-LABlab(51.65, 35.29, -67.40)
CIE-LCHlch(51.65, 76.08, 297.64°)
OKLaboklab(59.72% 0.023 -0.1933)
OKLCHoklch(59.72% 0.195 276.8)
XYZxyz(26.5652, 19.8392, 84.8507)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CF0 #F0EA66
analogous
#66B1F0 #666CF0 #A566F0
triadic
#666CF0 #F0666C #6CF066
tetradic
#666CF0 #F066B1 #F0EA66 #66F0A5
square
#666CF0 #F066B1 #F0EA66 #66F0A5
split-complementary
#666CF0 #F0A566 #B1F066
monochromatic
#141BC8 #2E36EB #666CF0 #9EA2F5 #D5D7FB

Accessibility & contrast

On white

4.23
#666CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#666CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CF0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CF0#FFFFFF#000000##000000
##666CF01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666cf0;
/* rgb */ color: rgb(102, 108, 240);
/* oklch */ color: oklch(59.7% 0.195 276.8);
Tailwind
colors: {
  custom: {
    50: '#9d96f6',
    500: '#666cf0',
    950: '#000000',
  },
}
SCSS
$custom: #666cf0;
$custom-light: #9d96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#666cf0",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 240
  },
  "hsl": {
    "h": 237.391,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.19465,
    "h": 276.8
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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