#666FE5#666FE5

#666FE5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.176 H 276.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#666FE5
RGBrgb(102, 111, 229)
HSLhsl(236, 71%, 65%)
HSVhsv(236, 55%, 90%)
CMYKcmyk(55.5%, 51.5%, 0%, 10.2%)
CIE-LABlab(51.67, 29.98, -61.22)
CIE-LCHlch(51.67, 68.17, 296.09°)
OKLaboklab(59.5% 0.0195 -0.1751)
OKLCHoklch(59.5% 0.176 276.4)
XYZxyz(25.3023, 19.8491, 76.6115)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE5 #E5DC66
analogous
#66AFE5 #666FE5 #9D66E5
triadic
#666FE5 #E5666F #6FE566
tetradic
#666FE5 #E566AF #E5DC66 #66E59D
square
#666FE5 #E566AF #E5DC66 #66E59D
split-complementary
#666FE5 #E59D66 #AFE566
monochromatic
#1E29B2 #323EDC #666FE5 #9AA0EE #CFD1F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666FE5#FFFFFF#000000##000000
##666FE51.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)
#2E81E9
Deuteranopia (green-blind)
#1476E3
Tritanopia (blue-blind)
#208A9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666fe5;
/* rgb */ color: rgb(102, 111, 229);
/* oklch */ color: oklch(59.5% 0.176 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b98ee',
    500: '#666fe5',
    950: '#000000',
  },
}
SCSS
$custom: #666fe5;
$custom-light: #9b98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe5",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 235.748,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.17615,
    "h": 276.4
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#666FE5
secondary
#E9E6BE
accent
#C513D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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