#666FF2#666FF2

#666FF2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.194 H 276.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#666FF2
RGBrgb(102, 111, 242)
HSLhsl(236, 84%, 67%)
HSVhsv(236, 58%, 95%)
CMYKcmyk(57.9%, 54.1%, 0%, 5.1%)
CIE-LABlab(52.51, 34.13, -67.13)
CIE-LCHlch(52.51, 75.31, 296.95°)
OKLaboklab(60.41% 0.0202 -0.1925)
OKLCHoklch(60.41% 0.194 276)
XYZxyz(27.1858, 20.6025, 86.5313)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FF2 #F2E966
analogous
#66B5F2 #666FF2 #A366F2
triadic
#666FF2 #F2666F #6FF266
tetradic
#666FF2 #F266B5 #F2E966 #66F2A3
square
#666FF2 #F266B5 #F2E966 #66F2A3
split-complementary
#666FF2 #F2A366 #B5F266
monochromatic
#111DCC #2E3AED #666FF2 #9EA4F7 #D7D9FC

Accessibility & contrast

On white

4.10
#666FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#666FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FF2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FF2#FFFFFF#000000##000000
##666FF21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #666ff2;
/* rgb */ color: rgb(102, 111, 242);
/* oklch */ color: oklch(60.4% 0.194 276.0);
Tailwind
colors: {
  custom: {
    50: '#9d98f7',
    500: '#666ff2',
    950: '#000000',
  },
}
SCSS
$custom: #666ff2;
$custom-light: #9d98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#666ff2",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 236.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.19352,
    "h": 276
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#666FF2
secondary
#F0EDC4
accent
#D305E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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