#666DD5#666DD5

#666DD5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.157 H 277.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666DD5
RGBrgb(102, 109, 213)
HSLhsl(236, 57%, 62%)
HSVhsv(236, 52%, 84%)
CMYKcmyk(52.1%, 48.8%, 0%, 16.5%)
CIE-LABlab(50.17, 26.14, -54.58)
CIE-LCHlch(50.17, 60.51, 295.59°)
OKLaboklab(58.06% 0.0203 -0.1556)
OKLCHoklch(58.06% 0.157 277.4)
XYZxyz(22.9546, 18.5647, 65.3117)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DD5 #D5CE66
analogous
#66A5D5 #666DD5 #9766D5
triadic
#666DD5 #D5666D #6DD566
tetradic
#666DD5 #D566A5 #D5CE66 #66D597
square
#666DD5 #D566A5 #D5CE66 #66D597
split-complementary
#666DD5 #D59766 #A5D566
monochromatic
#293097 #3740C7 #666DD5 #969BE2 #C6C9EF

Accessibility & contrast

On white

4.46
#666DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#666DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DD5#FFFFFF#000000##000000
##666DD51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#2F73D3
Tritanopia (blue-blind)
#358497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666dd5;
/* rgb */ color: rgb(102, 109, 213);
/* oklch */ color: oklch(58.1% 0.157 277.4);
Tailwind
colors: {
  custom: {
    50: '#9996e2',
    500: '#666dd5',
    950: '#000000',
  },
}
SCSS
$custom: #666dd5;
$custom-light: #9996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666dd5",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 236.216,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.15688,
    "h": 277.4
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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