#666DD4#666DD4

#666DD4 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.155 H 277.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#666DD4
RGBrgb(102, 109, 212)
HSLhsl(236, 56%, 62%)
HSVhsv(236, 52%, 83%)
CMYKcmyk(51.9%, 48.6%, 0%, 16.9%)
CIE-LABlab(50.11, 25.83, -54.11)
CIE-LCHlch(50.11, 59.95, 295.52°)
OKLaboklab(58% 0.0202 -0.1542)
OKLCHoklch(58% 0.155 277.5)
XYZxyz(22.8281, 18.5141, 64.6453)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DD4 #D4CD66
analogous
#66A4D4 #666DD4 #9666D4
triadic
#666DD4 #D4666D #6DD466
tetradic
#666DD4 #D466A4 #D4CD66 #66D496
square
#666DD4 #D466A4 #D4CD66 #66D496
split-complementary
#666DD4 #D49666 #A4D466
monochromatic
#2A3196 #3740C5 #666DD4 #969BE1 #C6C8EF

Accessibility & contrast

On white

4.47
#666DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#666DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DD4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DD4#FFFFFF#000000##000000
##666DD41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#368496
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666dd4;
/* rgb */ color: rgb(102, 109, 212);
/* oklch */ color: oklch(58.0% 0.155 277.5);
Tailwind
colors: {
  custom: {
    50: '#9996e2',
    500: '#666dd4',
    950: '#000000',
  },
}
SCSS
$custom: #666dd4;
$custom-light: #9996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666dd4",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 212
  },
  "hsl": {
    "h": 236.182,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.15548,
    "h": 277.5
  },
  "luminance": 0.18516
}

Semantic roles & 50–950 ramp

primary
#666DD4
secondary
#DFDDB6
accent
#B922C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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