#666CBF#666CBF

#666CBF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.127 H 278.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666CBF
RGBrgb(102, 108, 191)
HSLhsl(236, 41%, 57%)
HSVhsv(236, 47%, 75%)
CMYKcmyk(46.6%, 43.5%, 0%, 25.1%)
CIE-LABlab(48.65, 19.94, -44.42)
CIE-LCHlch(48.65, 48.69, 294.17°)
OKLaboklab(56.49% 0.0185 -0.1258)
OKLCHoklch(56.49% 0.127 278.4)
XYZxyz(20.2432, 17.3104, 51.5547)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CBF #BFB966
analogous
#6699BF #666CBF #8C66BF
triadic
#666CBF #BF666C #6CBF66
tetradic
#666CBF #BF6699 #BFB966 #66BF8C
square
#666CBF #BF6699 #BFB966 #66BF8C
split-complementary
#666CBF #BF8C66 #99BF66
monochromatic
#323778 #444BA3 #666CBF #9195D1 #BCBFE3

Accessibility & contrast

On white

4.71
#666CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#666CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CBF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CBF#FFFFFF#000000##FFFFFF
##666CBF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#477D8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #666cbf;
/* rgb */ color: rgb(102, 108, 191);
/* oklch */ color: oklch(56.5% 0.127 278.4);
Tailwind
colors: {
  custom: {
    50: '#9696d3',
    500: '#666cbf',
    950: '#000000',
  },
}
SCSS
$custom: #666cbf;
$custom-light: #9696d3;
$custom-dark: #000000;
JSON
{
  "hex": "#666cbf",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 235.955,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.12712,
    "h": 278.4
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#666CBF
secondary
#D2D0AE
accent
#C957D1
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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