#666EAF#666EAF

#666EAF is a mid, moderate blue. Relative luminance 0.171; OKLCH L 56.0% C 0.101 H 277.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#666EAF
RGBrgb(102, 110, 175)
HSLhsl(233, 31%, 54%)
HSVhsv(233, 42%, 69%)
CMYKcmyk(41.7%, 37.1%, 0%, 31.4%)
CIE-LABlab(48.35, 13.91, -35.62)
CIE-LCHlch(48.35, 38.24, 291.33°)
OKLaboklab(55.99% 0.0128 -0.1001)
OKLCHoklch(55.99% 0.101 277.3)
XYZxyz(18.7910, 17.0709, 42.8540)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EAF #AFA766
analogous
#6693AF #666EAF #8366AF
triadic
#666EAF #AF666E #6EAF66
tetradic
#666EAF #AF6693 #AFA766 #66AF83
square
#666EAF #AF6693 #AFA766 #66AF83
split-complementary
#666EAF #AF8366 #93AF66
monochromatic
#353A66 #4A528E #666EAF #8E94C4 #B6BAD9

Accessibility & contrast

On white

4.76
#666EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#666EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666EAF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EAF#FFFFFF#000000##FFFFFF
##666EAF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#4F7B86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666eaf;
/* rgb */ color: rgb(102, 110, 175);
/* oklch */ color: oklch(56.0% 0.101 277.3);
Tailwind
colors: {
  custom: {
    50: '#9597c7',
    500: '#666eaf',
    950: '#000000',
  },
}
SCSS
$custom: #666eaf;
$custom-light: #9597c7;
$custom-dark: #000000;
JSON
{
  "hex": "#666eaf",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 233.425,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.1009,
    "h": 277.3
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#666EAF
secondary
#C8C4A9
accent
#BC60C8
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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