#666CD5#666CD5

#666CD5 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.158 H 277.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#666CD5
RGBrgb(102, 108, 213)
HSLhsl(237, 57%, 62%)
HSVhsv(237, 52%, 84%)
CMYKcmyk(52.1%, 49.3%, 0%, 16.5%)
CIE-LABlab(49.92, 26.75, -54.98)
CIE-LCHlch(49.92, 61.15, 295.94°)
OKLaboklab(57.87% 0.0214 -0.1568)
OKLCHoklch(57.87% 0.158 277.8)
XYZxyz(22.8485, 18.3526, 65.2763)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD5 #D5CF66
analogous
#66A4D5 #666CD5 #9866D5
triadic
#666CD5 #D5666C #6CD566
tetradic
#666CD5 #D566A4 #D5CF66 #66D598
square
#666CD5 #D566A4 #D5CF66 #66D598
split-complementary
#666CD5 #D59866 #A4D566
monochromatic
#292F97 #373EC7 #666CD5 #969AE2 #C6C8EF

Accessibility & contrast

On white

4.50
#666CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#666CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD5#FFFFFF#000000##000000
##666CD51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD9
Deuteranopia (green-blind)
#2D72D3
Tritanopia (blue-blind)
#368396
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666cd5;
/* rgb */ color: rgb(102, 108, 213);
/* oklch */ color: oklch(57.9% 0.158 277.8);
Tailwind
colors: {
  custom: {
    50: '#9996e2',
    500: '#666cd5',
    950: '#000000',
  },
}
SCSS
$custom: #666cd5;
$custom-light: #9996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd5",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 236.757,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.15821,
    "h": 277.8
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#666CD5
secondary
#E0DEB7
accent
#BC21C4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0F0D15
muted
#7E7E83

Preview Lab

Preview with #666CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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