#666BAF#666BAF

#666BAF is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.4% C 0.105 H 279.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#666BAF
RGBrgb(102, 107, 175)
HSLhsl(236, 31%, 54%)
HSVhsv(236, 42%, 69%)
CMYKcmyk(41.7%, 38.9%, 0%, 31.4%)
CIE-LABlab(47.54, 15.75, -36.90)
CIE-LCHlch(47.54, 40.12, 293.11°)
OKLaboklab(55.37% 0.0168 -0.1038)
OKLCHoklch(55.37% 0.105 279.2)
XYZxyz(18.4728, 16.4345, 42.7480)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BAF #AFAA66
analogous
#6690AF #666BAF #8666AF
triadic
#666BAF #AF666B #6BAF66
tetradic
#666BAF #AF6690 #AFAA66 #66AF86
square
#666BAF #AF6690 #AFAA66 #66AF86
split-complementary
#666BAF #AF8666 #90AF66
monochromatic
#353866 #4A4F8E #666BAF #8E92C4 #B6B9D9

Accessibility & contrast

On white

4.90
#666BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#666BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BAF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BAF#FFFFFF#000000##FFFFFF
##666BAF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B2
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#4F7984
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #666baf;
/* rgb */ color: rgb(102, 107, 175);
/* oklch */ color: oklch(55.4% 0.105 279.2);
Tailwind
colors: {
  custom: {
    50: '#9595c7',
    500: '#666baf',
    950: '#000000',
  },
}
SCSS
$custom: #666baf;
$custom-light: #9595c7;
$custom-dark: #000000;
JSON
{
  "hex": "#666baf",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 235.89,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.10514,
    "h": 279.2
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#666BAF
secondary
#C8C6A9
accent
#C060C8
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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