#666FD5#666FD5

#666FD5 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.154 H 276.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#666FD5
RGBrgb(102, 111, 213)
HSLhsl(235, 57%, 62%)
HSVhsv(235, 52%, 84%)
CMYKcmyk(52.1%, 47.9%, 0%, 16.5%)
CIE-LABlab(50.68, 24.92, -53.76)
CIE-LCHlch(50.68, 59.26, 294.87°)
OKLaboklab(58.45% 0.018 -0.1531)
OKLCHoklch(58.45% 0.154 276.7)
XYZxyz(23.1704, 18.9963, 65.3836)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD5 #D5CC66
analogous
#66A7D5 #666FD5 #9566D5
triadic
#666FD5 #D5666F #6FD566
tetradic
#666FD5 #D566A7 #D5CC66 #66D595
square
#666FD5 #D566A7 #D5CC66 #66D595
split-complementary
#666FD5 #D59566 #A7D566
monochromatic
#293297 #3742C7 #666FD5 #969CE2 #C6C9EF

Accessibility & contrast

On white

4.38
#666FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#666FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD5#FFFFFF#000000##000000
##666FD51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD9
Deuteranopia (green-blind)
#3474D3
Tritanopia (blue-blind)
#358598
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666fd5;
/* rgb */ color: rgb(102, 111, 213);
/* oklch */ color: oklch(58.4% 0.154 276.7);
Tailwind
colors: {
  custom: {
    50: '#9998e2',
    500: '#666fd5',
    950: '#000000',
  },
}
SCSS
$custom: #666fd5;
$custom-light: #9998e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd5",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 235.135,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.15421,
    "h": 276.7
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#666FD5
secondary
#E0DDB7
accent
#B721C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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