#666EBA#666EBA

#666EBA is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.6% C 0.117 H 277.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#666EBA
RGBrgb(102, 110, 186)
HSLhsl(234, 38%, 56%)
HSVhsv(234, 45%, 73%)
CMYKcmyk(45.2%, 40.9%, 0%, 27.1%)
CIE-LABlab(48.91, 17.19, -41.12)
CIE-LCHlch(48.91, 44.57, 292.69°)
OKLaboklab(56.61% 0.0151 -0.1161)
OKLCHoklch(56.61% 0.117 277.4)
XYZxyz(19.9157, 17.5208, 48.7773)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EBA #BAB266
analogous
#6698BA #666EBA #8866BA
triadic
#666EBA #BA666E #6EBA66
tetradic
#666EBA #BA6698 #BAB266 #66BA88
square
#666EBA #BA6698 #BAB266 #66BA88
split-complementary
#666EBA #BA8866 #98BA66
monochromatic
#333972 #464F9C #666EBA #9096CD #BABEE0

Accessibility & contrast

On white

4.66
#666EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#666EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666EBA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EBA#FFFFFF#000000##FFFFFF
##666EBA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#497E8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #666eba;
/* rgb */ color: rgb(102, 110, 186);
/* oklch */ color: oklch(56.6% 0.117 277.4);
Tailwind
colors: {
  custom: {
    50: '#9697cf',
    500: '#666eba',
    950: '#000000',
  },
}
SCSS
$custom: #666eba;
$custom-light: #9697cf;
$custom-dark: #000000;
JSON
{
  "hex": "#666eba",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 234.286,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.11708,
    "h": 277.4
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#666EBA
secondary
#CFCCAD
accent
#C35ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #666EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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