#666FF4#666FF4

#666FF4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.196 H 275.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#666FF4
RGBrgb(102, 111, 244)
HSLhsl(236, 87%, 68%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(58.2%, 54.5%, 0%, 4.3%)
CIE-LABlab(52.65, 34.77, -68.03)
CIE-LCHlch(52.65, 76.40, 297.07°)
OKLaboklab(60.55% 0.0203 -0.1951)
OKLCHoklch(60.55% 0.196 275.9)
XYZxyz(27.4878, 20.7233, 88.1219)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FF4 #F4EB66
analogous
#66B6F4 #666FF4 #A466F4
triadic
#666FF4 #F4666F #6FF466
tetradic
#666FF4 #F466B6 #F4EB66 #66F4A4
square
#666FF4 #F466B6 #F4EB66 #66F4A4
split-complementary
#666FF4 #F4A466 #B6F466
monochromatic
#0F1BD1 #2D39F0 #666FF4 #9FA5F8 #D8DAFC

Accessibility & contrast

On white

4.08
#666FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#666FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FF4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FF4#FFFFFF#000000##000000
##666FF41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0784F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #666ff4;
/* rgb */ color: rgb(102, 111, 244);
/* oklch */ color: oklch(60.5% 0.196 275.9);
Tailwind
colors: {
  custom: {
    50: '#9d98f9',
    500: '#666ff4',
    950: '#000000',
  },
}
SCSS
$custom: #666ff4;
$custom-light: #9d98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666ff4",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 236.197,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.19615,
    "h": 275.9
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#666FF4
secondary
#F1EEC5
accent
#D502E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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