#666CF4#666CF4

#666CF4 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.0% C 0.200 H 276.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#666CF4
RGBrgb(102, 108, 244)
HSLhsl(237, 87%, 68%)
HSVhsv(237, 58%, 96%)
CMYKcmyk(58.2%, 55.7%, 0%, 4.3%)
CIE-LABlab(51.93, 36.57, -69.19)
CIE-LCHlch(51.93, 78.26, 297.86°)
OKLaboklab(60.01% 0.0231 -0.1985)
OKLCHoklch(60.01% 0.2 276.6)
XYZxyz(27.1659, 20.0795, 88.0146)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CF4 #F4EE66
analogous
#66B3F4 #666CF4 #A766F4
triadic
#666CF4 #F4666C #6CF466
tetradic
#666CF4 #F466B3 #F4EE66 #66F4A7
square
#666CF4 #F466B3 #F4EE66 #66F4A7
split-complementary
#666CF4 #F4A766 #B3F466
monochromatic
#0F17D1 #2D35F0 #666CF4 #9FA3F8 #D8DAFC

Accessibility & contrast

On white

4.19
#666CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#666CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CF4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CF4#FFFFFF#000000##000000
##666CF41.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666cf4;
/* rgb */ color: rgb(102, 108, 244);
/* oklch */ color: oklch(60.0% 0.200 276.6);
Tailwind
colors: {
  custom: {
    50: '#9d96f9',
    500: '#666cf4',
    950: '#000000',
  },
}
SCSS
$custom: #666cf4;
$custom-light: #9d96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666cf4",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 237.465,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.19989,
    "h": 276.6
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#666CF4
secondary
#F1EFC5
accent
#DA02E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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