#666BF2#666BF2

#666BF2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.199 H 276.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#666BF2
RGBrgb(102, 107, 242)
HSLhsl(238, 84%, 67%)
HSVhsv(238, 58%, 95%)
CMYKcmyk(57.9%, 55.8%, 0%, 5.1%)
CIE-LABlab(51.55, 36.53, -68.68)
CIE-LCHlch(51.55, 77.79, 298.01°)
OKLaboklab(59.69% 0.024 -0.1971)
OKLCHoklch(59.69% 0.199 276.9)
XYZxyz(26.7590, 19.7490, 86.3890)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF2 #F2ED66
analogous
#66B1F2 #666BF2 #A766F2
triadic
#666BF2 #F2666B #6BF266
tetradic
#666BF2 #F266B1 #F2ED66 #66F2A7
square
#666BF2 #F266B1 #F2ED66 #66F2A7
split-complementary
#666BF2 #F2A766 #B1F266
monochromatic
#1118CC #2E34ED #666BF2 #9EA2F7 #D7D8FC

Accessibility & contrast

On white

4.24
#666BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#666BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF2#FFFFFF#000000##000000
##666BF21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666bf2;
/* rgb */ color: rgb(102, 107, 242);
/* oklch */ color: oklch(59.7% 0.199 276.9);
Tailwind
colors: {
  custom: {
    50: '#9d95f7',
    500: '#666bf2',
    950: '#000000',
  },
}
SCSS
$custom: #666bf2;
$custom-light: #9d95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf2",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 237.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.19852,
    "h": 276.9
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#666BF2
secondary
#F0EEC4
accent
#D905E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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