#666FD2#666FD2

#666FD2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.150 H 276.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#666FD2
RGBrgb(102, 111, 210)
HSLhsl(235, 55%, 61%)
HSVhsv(235, 51%, 82%)
CMYKcmyk(51.4%, 47.1%, 0%, 17.6%)
CIE-LABlab(50.51, 23.98, -52.34)
CIE-LCHlch(50.51, 57.57, 294.61°)
OKLaboklab(58.25% 0.0177 -0.149)
OKLCHoklch(58.25% 0.15 276.8)
XYZxyz(22.7931, 18.8454, 63.3967)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD2 #D2C966
analogous
#66A5D2 #666FD2 #9366D2
triadic
#666FD2 #D2666F #6FD266
tetradic
#666FD2 #D266A5 #D2C966 #66D293
square
#666FD2 #D266A5 #D2C966 #66D293
split-complementary
#666FD2 #D29366 #A5D266
monochromatic
#2B3493 #3944C2 #666FD2 #959CE0 #C5C8EE

Accessibility & contrast

On white

4.40
#666FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#666FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD2#FFFFFF#000000##000000
##666FD21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#388596
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666fd2;
/* rgb */ color: rgb(102, 111, 210);
/* oklch */ color: oklch(58.3% 0.150 276.8);
Tailwind
colors: {
  custom: {
    50: '#9998e0',
    500: '#666fd2',
    950: '#000000',
  },
}
SCSS
$custom: #666fd2;
$custom-light: #9998e0;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd2",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 235,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.15002,
    "h": 276.8
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#666FD2
secondary
#DEDBB6
accent
#B523C2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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