#666BDB#666BDB

#666BDB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.168 H 277.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#666BDB
RGBrgb(102, 107, 219)
HSLhsl(237, 62%, 63%)
HSVhsv(237, 53%, 86%)
CMYKcmyk(53.4%, 51.1%, 0%, 14.1%)
CIE-LABlab(50.04, 29.25, -58.19)
CIE-LCHlch(50.04, 65.13, 296.68°)
OKLaboklab(58.08% 0.023 -0.1662)
OKLCHoklch(58.08% 0.168 277.9)
XYZxyz(23.5193, 18.4531, 69.3266)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BDB #DBD666
analogous
#66A5DB #666BDB #9B66DB
triadic
#666BDB #DB666B #6BDB66
tetradic
#666BDB #DB66A5 #DBD666 #66DB9B
square
#666BDB #DB66A5 #DBD666 #66DB9B
split-complementary
#666BDB #DB9B66 #A5DB66
monochromatic
#262BA1 #343BCF #666BDB #989BE7 #C9CBF2

Accessibility & contrast

On white

4.48
#666BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#666BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BDB#FFFFFF#000000##000000
##666BDB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#1F72D9
Tritanopia (blue-blind)
#2F8499
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666bdb;
/* rgb */ color: rgb(102, 107, 219);
/* oklch */ color: oklch(58.1% 0.168 277.9);
Tailwind
colors: {
  custom: {
    50: '#9a95e7',
    500: '#666bdb',
    950: '#000000',
  },
}
SCSS
$custom: #666bdb;
$custom-light: #9a95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#666bdb",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 237.436,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.16779,
    "h": 277.9
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#666BDB
secondary
#E3E2B9
accent
#C21CCA
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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