#666FF5#666FF5

#666FF5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.197 H 275.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#666FF5
RGBrgb(102, 111, 245)
HSLhsl(236, 88%, 68%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(58.4%, 54.7%, 0%, 3.9%)
CIE-LABlab(52.71, 35.09, -68.48)
CIE-LCHlch(52.71, 76.94, 297.13°)
OKLaboklab(60.62% 0.0203 -0.1964)
OKLCHoklch(60.62% 0.197 275.9)
XYZxyz(27.6400, 20.7842, 88.9237)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FF5 #F5EC66
analogous
#66B6F5 #666FF5 #A466F5
triadic
#666FF5 #F5666F #6FF566
tetradic
#666FF5 #F566B6 #F5EC66 #66F5A4
square
#666FF5 #F566B6 #F5EC66 #66F5A4
split-complementary
#666FF5 #F5A466 #B6F566
monochromatic
#0E1AD3 #2D39F1 #666FF5 #9FA5F9 #D9DBFD

Accessibility & contrast

On white

4.07
#666FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#666FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FF5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FF5#FFFFFF#000000##000000
##666FF51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0284FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #666ff5;
/* rgb */ color: rgb(102, 111, 245);
/* oklch */ color: oklch(60.6% 0.197 275.9);
Tailwind
colors: {
  custom: {
    50: '#9d98f9',
    500: '#666ff5',
    950: '#000000',
  },
}
SCSS
$custom: #666ff5;
$custom-light: #9d98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666ff5",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 236.224,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.19747,
    "h": 275.9
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#666FF5
secondary
#F1EFC6
accent
#D601E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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