#666CF2#666CF2

#666CF2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.9% C 0.197 H 276.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#666CF2
RGBrgb(102, 108, 242)
HSLhsl(237, 84%, 67%)
HSVhsv(237, 58%, 95%)
CMYKcmyk(57.9%, 55.4%, 0%, 5.1%)
CIE-LABlab(51.79, 35.93, -68.30)
CIE-LCHlch(51.79, 77.17, 297.75°)
OKLaboklab(59.87% 0.0231 -0.1959)
OKLCHoklch(59.87% 0.197 276.7)
XYZxyz(26.8639, 19.9587, 86.4240)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CF2 #F2EC66
analogous
#66B2F2 #666CF2 #A666F2
triadic
#666CF2 #F2666C #6CF266
tetradic
#666CF2 #F266B2 #F2EC66 #66F2A6
square
#666CF2 #F266B2 #F2EC66 #66F2A6
split-complementary
#666CF2 #F2A666 #B2F266
monochromatic
#1119CC #2E36ED #666CF2 #9EA2F7 #D7D8FC

Accessibility & contrast

On white

4.21
#666CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#666CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CF2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CF2#FFFFFF#000000##000000
##666CF21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666cf2;
/* rgb */ color: rgb(102, 108, 242);
/* oklch */ color: oklch(59.9% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#9d96f7',
    500: '#666cf2',
    950: '#000000',
  },
}
SCSS
$custom: #666cf2;
$custom-light: #9d96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#666cf2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 237.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.19727,
    "h": 276.7
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#666CF2
secondary
#F0EEC4
accent
#D705E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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