#666CF7#666CF7

#666CF7 is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.2% C 0.204 H 276.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#666CF7
RGBrgb(102, 108, 247)
HSLhsl(238, 90%, 68%)
HSVhsv(238, 59%, 97%)
CMYKcmyk(58.7%, 56.3%, 0%, 3.1%)
CIE-LABlab(52.13, 37.52, -70.53)
CIE-LCHlch(52.13, 79.89, 298.01°)
OKLaboklab(60.23% 0.0231 -0.2025)
OKLCHoklch(60.23% 0.204 276.5)
XYZxyz(27.6251, 20.2632, 90.4331)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CF7 #F7F166
analogous
#66B4F7 #666CF7 #A866F7
triadic
#666CF7 #F7666C #6CF766
tetradic
#666CF7 #F766B4 #F7F166 #66F7A8
square
#666CF7 #F766B4 #F7F166 #66F7A8
split-complementary
#666CF7 #F7A866 #B4F766
monochromatic
#0B14D7 #2C34F4 #666CF7 #A0A4FA #DADCFD

Accessibility & contrast

On white

4.16
#666CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#666CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CF7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CF7#FFFFFF#000000##000000
##666CF71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#008DA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666cf7;
/* rgb */ color: rgb(102, 108, 247);
/* oklch */ color: oklch(60.2% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#9e96fb',
    500: '#666cf7',
    950: '#000000',
  },
}
SCSS
$custom: #666cf7;
$custom-light: #9e96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#666cf7",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 237.517,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.2038,
    "h": 276.5
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#666CF7
secondary
#F2F0C7
accent
#DC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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