#666FA2#666FA2

#666FA2 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.080 H 275.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#666FA2
RGBrgb(102, 111, 162)
HSLhsl(231, 24%, 52%)
HSVhsv(231, 37%, 64%)
CMYKcmyk(37%, 31.5%, 0%, 36.5%)
CIE-LABlab(48.01, 9.54, -28.56)
CIE-LCHlch(48.01, 30.11, 288.47°)
OKLaboklab(55.53% 0.0081 -0.0796)
OKLCHoklch(55.53% 0.08 275.8)
XYZxyz(17.6836, 16.8016, 36.4867)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FA2 #A29966
analogous
#668DA2 #666FA2 #7B66A2
triadic
#666FA2 #A2666F #6FA266
tetradic
#666FA2 #A2668D #A29966 #66A27B
square
#666FA2 #A2668D #A29966 #66A27B
split-complementary
#666FA2 #A27B66 #8DA266
monochromatic
#363B58 #4D547E #666FA2 #8C93B9 #B2B7D0

Accessibility & contrast

On white

4.82
#666FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#666FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FA2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FA2#FFFFFF#000000##FFFFFF
##666FA21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#557981
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666fa2;
/* rgb */ color: rgb(102, 111, 162);
/* oklch */ color: oklch(55.5% 0.080 275.8);
Tailwind
colors: {
  custom: {
    50: '#9498bd',
    500: '#666fa2',
    950: '#000000',
  },
}
SCSS
$custom: #666fa2;
$custom-light: #9498bd;
$custom-dark: #000000;
JSON
{
  "hex": "#666fa2",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 231,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.08005,
    "h": 275.8
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#666FA2
secondary
#BFBBA5
accent
#B367C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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