#666EF1#666EF1

#666EF1 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.2% C 0.193 H 276.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#666EF1
RGBrgb(102, 110, 241)
HSLhsl(237, 83%, 67%)
HSVhsv(237, 58%, 95%)
CMYKcmyk(57.7%, 54.4%, 0%, 5.5%)
CIE-LABlab(52.20, 34.41, -67.07)
CIE-LCHlch(52.20, 75.38, 297.16°)
OKLaboklab(60.15% 0.0211 -0.1923)
OKLCHoklch(60.15% 0.193 276.3)
XYZxyz(26.9275, 20.3255, 85.7063)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EF1 #F1E966
analogous
#66B3F1 #666EF1 #A466F1
triadic
#666EF1 #F1666E #6EF166
tetradic
#666EF1 #F166B3 #F1E966 #66F1A4
square
#666EF1 #F166B3 #F1E966 #66F1A4
split-complementary
#666EF1 #F1A466 #B3F166
monochromatic
#121DCA #2E39EC #666EF1 #9EA3F6 #D6D8FB

Accessibility & contrast

On white

4.15
#666EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#666EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EF1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EF1#FFFFFF#000000##000000
##666EF11.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D82F6
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666ef1;
/* rgb */ color: rgb(102, 110, 241);
/* oklch */ color: oklch(60.2% 0.193 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d97f6',
    500: '#666ef1',
    950: '#000000',
  },
}
SCSS
$custom: #666ef1;
$custom-light: #9d97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#666ef1",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 236.547,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.19346,
    "h": 276.3
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#666EF1
secondary
#EFEDC3
accent
#D306E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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