#666FA3#666FA3

#666FA3 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.6% C 0.082 H 275.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#666FA3
RGBrgb(102, 111, 163)
HSLhsl(231, 25%, 52%)
HSVhsv(231, 37%, 64%)
CMYKcmyk(37.4%, 31.9%, 0%, 36.1%)
CIE-LABlab(48.05, 9.82, -29.07)
CIE-LCHlch(48.05, 30.69, 288.67°)
OKLaboklab(55.58% 0.0084 -0.0811)
OKLCHoklch(55.58% 0.082 275.9)
XYZxyz(17.7729, 16.8373, 36.9567)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FA3 #A39A66
analogous
#668EA3 #666FA3 #7C66A3
triadic
#666FA3 #A3666F #6FA366
tetradic
#666FA3 #A3668E #A39A66 #66A37C
square
#666FA3 #A3668E #A39A66 #66A37C
split-complementary
#666FA3 #A37C66 #8EA366
monochromatic
#363B59 #4D547F #666FA3 #8C93BA #B2B7D1

Accessibility & contrast

On white

4.81
#666FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#666FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666FA3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FA3#FFFFFF#000000##FFFFFF
##666FA31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A5
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#547982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666fa3;
/* rgb */ color: rgb(102, 111, 163);
/* oklch */ color: oklch(55.6% 0.082 275.9);
Tailwind
colors: {
  custom: {
    50: '#9498be',
    500: '#666fa3',
    950: '#000000',
  },
}
SCSS
$custom: #666fa3;
$custom-light: #9498be;
$custom-dark: #000000;
JSON
{
  "hex": "#666fa3",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 231.148,
    "s": 24.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.08155,
    "h": 275.9
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#666FA3
secondary
#C0BCA5
accent
#B466C1
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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