#666FF8#666FF8

#666FF8 is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 60.8% C 0.201 H 275.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#666FF8
RGBrgb(102, 111, 248)
HSLhsl(236, 91%, 69%)
HSVhsv(236, 59%, 97%)
CMYKcmyk(58.9%, 55.2%, 0%, 2.7%)
CIE-LABlab(52.92, 36.05, -69.81)
CIE-LCHlch(52.92, 78.57, 297.31°)
OKLaboklab(60.83% 0.0204 -0.2004)
OKLCHoklch(60.83% 0.201 275.8)
XYZxyz(28.1017, 20.9688, 91.3553)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FF8 #F8EF66
analogous
#66B8F8 #666FF8 #A666F8
triadic
#666FF8 #F8666F #6FF866
tetradic
#666FF8 #F866B8 #F8EF66 #66F8A6
square
#666FF8 #F866B8 #F8EF66 #66F8A6
split-complementary
#666FF8 #F8A666 #B8F866
monochromatic
#0A17DA #2B38F5 #666FF8 #A1A6FB #DBDDFD

Accessibility & contrast

On white

4.04
#666FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#666FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FF8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FF8#FFFFFF#000000##000000
##666FF81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#008FA9
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #666ff8;
/* rgb */ color: rgb(102, 111, 248);
/* oklch */ color: oklch(60.8% 0.201 275.8);
Tailwind
colors: {
  custom: {
    50: '#9e98fb',
    500: '#666ff8',
    950: '#000000',
  },
}
SCSS
$custom: #666ff8;
$custom-light: #9e98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#666ff8",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 236.301,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.20139,
    "h": 275.8
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#666FF8
secondary
#F3F0C7
accent
#D700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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