#666BA2#666BA2

#666BA2 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.7% C 0.086 H 279.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#666BA2
RGBrgb(102, 107, 162)
HSLhsl(235, 24%, 52%)
HSVhsv(235, 37%, 64%)
CMYKcmyk(37%, 34%, 0%, 36.5%)
CIE-LABlab(46.91, 11.98, -30.28)
CIE-LCHlch(46.91, 32.56, 291.58°)
OKLaboklab(54.68% 0.0137 -0.0846)
OKLCHoklch(54.68% 0.086 279.2)
XYZxyz(17.2569, 15.9482, 36.3445)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BA2 #A29D66
analogous
#6689A2 #666BA2 #7F66A2
triadic
#666BA2 #A2666B #6BA266
tetradic
#666BA2 #A26689 #A29D66 #66A27F
square
#666BA2 #A26689 #A29D66 #66A27F
split-complementary
#666BA2 #A27F66 #89A266
monochromatic
#363858 #4D517E #666BA2 #8C90B9 #B2B5D0

Accessibility & contrast

On white

5.01
#666BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#666BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BA2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BA2#FFFFFF#000000##FFFFFF
##666BA21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#55767F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #666ba2;
/* rgb */ color: rgb(102, 107, 162);
/* oklch */ color: oklch(54.7% 0.086 279.2);
Tailwind
colors: {
  custom: {
    50: '#9495be',
    500: '#666ba2',
    950: '#000000',
  },
}
SCSS
$custom: #666ba2;
$custom-light: #9495be;
$custom-dark: #000000;
JSON
{
  "hex": "#666ba2",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 235,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.0857,
    "h": 279.2
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#666BA2
secondary
#BFBDA5
accent
#B967C1
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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