#666AF2#666AF2

#666AF2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.5% C 0.200 H 277.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#666AF2
RGBrgb(102, 106, 242)
HSLhsl(238, 84%, 67%)
HSVhsv(238, 58%, 95%)
CMYKcmyk(57.9%, 56.2%, 0%, 5.1%)
CIE-LABlab(51.31, 37.13, -69.07)
CIE-LCHlch(51.31, 78.41, 298.26°)
OKLaboklab(59.51% 0.025 -0.1982)
OKLCHoklch(59.51% 0.2 277.2)
XYZxyz(26.6554, 19.5417, 86.3545)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AF2 #F2EE66
analogous
#66B0F2 #666AF2 #A866F2
triadic
#666AF2 #F2666A #6AF266
tetradic
#666AF2 #F266B0 #F2EE66 #66F2A8
square
#666AF2 #F266B0 #F2EE66 #66F2A8
split-complementary
#666AF2 #F2A866 #B0F266
monochromatic
#1117CC #2E33ED #666AF2 #9EA1F7 #D7D8FC

Accessibility & contrast

On white

4.28
#666AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#666AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AF2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AF2#FFFFFF#000000##000000
##666AF21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008AA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666af2;
/* rgb */ color: rgb(102, 106, 242);
/* oklch */ color: oklch(59.5% 0.200 277.2);
Tailwind
colors: {
  custom: {
    50: '#9d94f7',
    500: '#666af2',
    950: '#000000',
  },
}
SCSS
$custom: #666af2;
$custom-light: #9d94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#666af2",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 238.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.19977,
    "h": 277.2
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#666AF2
secondary
#F0EFC4
accent
#DB05E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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