#666FEC#666FEC

#666FEC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.186 H 276.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#666FEC
RGBrgb(102, 111, 236)
HSLhsl(236, 78%, 66%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(56.8%, 53%, 0%, 7.5%)
CIE-LABlab(52.12, 32.21, -64.42)
CIE-LCHlch(52.12, 72.02, 296.57°)
OKLaboklab(59.98% 0.0199 -0.1845)
OKLCHoklch(59.98% 0.186 276.2)
XYZxyz(26.2994, 20.2479, 81.8630)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FEC #ECE366
analogous
#66B2EC #666FEC #A066EC
triadic
#666FEC #EC666F #6FEC66
tetradic
#666FEC #EC66B2 #ECE366 #66ECA0
square
#666FEC #EC66B2 #ECE366 #66ECA0
split-complementary
#666FEC #ECA066 #B2EC66
monochromatic
#1823C0 #303CE5 #666FEC #9CA2F3 #D3D5FA

Accessibility & contrast

On white

4.16
#666FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#666FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FEC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FEC#FFFFFF#000000##000000
##666FEC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0F8CA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666fec;
/* rgb */ color: rgb(102, 111, 236);
/* oklch */ color: oklch(60.0% 0.186 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c98f3',
    500: '#666fec',
    950: '#000000',
  },
}
SCSS
$custom: #666fec;
$custom-light: #9c98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#666fec",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 235.97,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59984,
    "c": 0.18555,
    "h": 276.2
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#666FEC
secondary
#EDEAC1
accent
#CC0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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