#666CDB#666CDB

#666CDB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.166 H 277.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#666CDB
RGBrgb(102, 108, 219)
HSLhsl(237, 62%, 63%)
HSVhsv(237, 53%, 86%)
CMYKcmyk(53.4%, 50.7%, 0%, 14.1%)
CIE-LABlab(50.29, 28.64, -57.79)
CIE-LCHlch(50.29, 64.50, 296.36°)
OKLaboklab(58.27% 0.0219 -0.165)
OKLCHoklch(58.27% 0.166 277.6)
XYZxyz(23.6242, 18.6629, 69.3615)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CDB #DBD566
analogous
#66A6DB #666CDB #9A66DB
triadic
#666CDB #DB666C #6CDB66
tetradic
#666CDB #DB66A6 #DBD566 #66DB9A
square
#666CDB #DB66A6 #DBD566 #66DB9A
split-complementary
#666CDB #DB9A66 #A6DB66
monochromatic
#262CA1 #343CCF #666CDB #989CE7 #C9CBF2

Accessibility & contrast

On white

4.44
#666CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#666CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CDB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CDB#FFFFFF#000000##000000
##666CDB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#2F8599
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666cdb;
/* rgb */ color: rgb(102, 108, 219);
/* oklch */ color: oklch(58.3% 0.166 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a96e7',
    500: '#666cdb',
    950: '#000000',
  },
}
SCSS
$custom: #666cdb;
$custom-light: #9a96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#666cdb",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 236.923,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.16647,
    "h": 277.6
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#666CDB
secondary
#E3E1B9
accent
#C11CCA
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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