#666BF1#666BF1

#666BF1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.197 H 277.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#666BF1
RGBrgb(102, 107, 241)
HSLhsl(238, 83%, 67%)
HSVhsv(238, 58%, 95%)
CMYKcmyk(57.7%, 55.6%, 0%, 5.5%)
CIE-LABlab(51.48, 36.21, -68.24)
CIE-LCHlch(51.48, 77.25, 297.95°)
OKLaboklab(59.62% 0.024 -0.1957)
OKLCHoklch(59.62% 0.197 277)
XYZxyz(26.6093, 19.6891, 85.6002)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF1 #F1EC66
analogous
#66B0F1 #666BF1 #A766F1
triadic
#666BF1 #F1666B #6BF166
tetradic
#666BF1 #F166B0 #F1EC66 #66F1A7
square
#666BF1 #F166B0 #F1EC66 #66F1A7
split-complementary
#666BF1 #F1A766 #B0F166
monochromatic
#1219CA #2E35EC #666BF1 #9EA1F6 #D6D7FB

Accessibility & contrast

On white

4.25
#666BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#666BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF1#FFFFFF#000000##000000
##666BF11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666bf1;
/* rgb */ color: rgb(102, 107, 241);
/* oklch */ color: oklch(59.6% 0.197 277.0);
Tailwind
colors: {
  custom: {
    50: '#9d95f6',
    500: '#666bf1',
    950: '#000000',
  },
}
SCSS
$custom: #666bf1;
$custom-light: #9d95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf1",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 237.842,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.19722,
    "h": 277
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#666BF1
secondary
#EFEEC3
accent
#D806E0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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