#666BF7#666BF7

#666BF7 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.1% C 0.205 H 276.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#666BF7
RGBrgb(102, 107, 247)
HSLhsl(238, 90%, 68%)
HSVhsv(238, 59%, 97%)
CMYKcmyk(58.7%, 56.7%, 0%, 3.1%)
CIE-LABlab(51.90, 38.12, -70.91)
CIE-LCHlch(51.90, 80.51, 298.26°)
OKLaboklab(60.06% 0.0241 -0.2036)
OKLCHoklch(60.06% 0.205 276.7)
XYZxyz(27.5203, 20.0535, 90.3981)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF7 #F7F266
analogous
#66B3F7 #666BF7 #A966F7
triadic
#666BF7 #F7666B #6BF766
tetradic
#666BF7 #F766B3 #F7F266 #66F7A9
square
#666BF7 #F766B3 #F7F266 #66F7A9
split-complementary
#666BF7 #F7A966 #B3F766
monochromatic
#0B12D7 #2C33F4 #666BF7 #A0A3FA #DADCFD

Accessibility & contrast

On white

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

On black

5.01
#666BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF7#FFFFFF#000000##000000
##666BF71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666bf7;
/* rgb */ color: rgb(102, 107, 247);
/* oklch */ color: oklch(60.1% 0.205 276.7);
Tailwind
colors: {
  custom: {
    50: '#9e95fb',
    500: '#666bf7',
    950: '#000000',
  },
}
SCSS
$custom: #666bf7;
$custom-light: #9e95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf7",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 237.931,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.20503,
    "h": 276.7
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#666BF7
secondary
#F2F1C7
accent
#DE00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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