#666FE4#666FE4

#666FE4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.175 H 276.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#666FE4
RGBrgb(102, 111, 228)
HSLhsl(236, 70%, 65%)
HSVhsv(236, 55%, 89%)
CMYKcmyk(55.3%, 51.3%, 0%, 10.6%)
CIE-LABlab(51.60, 29.66, -60.76)
CIE-LCHlch(51.60, 67.61, 296.02°)
OKLaboklab(59.44% 0.0194 -0.1737)
OKLCHoklch(59.44% 0.175 276.4)
XYZxyz(25.1630, 19.7934, 75.8783)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FE4 #E4DB66
analogous
#66AEE4 #666FE4 #9C66E4
triadic
#666FE4 #E4666F #6FE466
tetradic
#666FE4 #E466AE #E4DB66 #66E49C
square
#666FE4 #E466AE #E4DB66 #66E49C
split-complementary
#666FE4 #E49C66 #AEE466
monochromatic
#1F2AB0 #323EDB #666FE4 #9AA0ED #CED1F6

Accessibility & contrast

On white

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

On black

4.96
#666FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FE4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FE4#FFFFFF#000000##000000
##666FE41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#1776E2
Tritanopia (blue-blind)
#22899F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666fe4;
/* rgb */ color: rgb(102, 111, 228);
/* oklch */ color: oklch(59.4% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b98ed',
    500: '#666fe4',
    950: '#000000',
  },
}
SCSS
$custom: #666fe4;
$custom-light: #9b98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#666fe4",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 235.714,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.1748,
    "h": 276.4
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#666FE4
secondary
#E9E5BD
accent
#C414D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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