#667ECC#667ECC

#667ECC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.122 H 269.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#667ECC
RGBrgb(102, 126, 204)
HSLhsl(226, 50%, 60%)
HSVhsv(226, 50%, 80%)
CMYKcmyk(50%, 38.2%, 0%, 20%)
CIE-LABlab(54.14, 12.99, -43.16)
CIE-LCHlch(54.14, 45.07, 286.75°)
OKLaboklab(60.92% -0.0008 -0.122)
OKLCHoklch(60.92% 0.122 269.6)
XYZxyz(23.8359, 22.1046, 60.1256)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667ECC #CCB466
analogous
#66B1CC #667ECC #8166CC
triadic
#667ECC #CC667E #7ECC66
tetradic
#667ECC #CC66B1 #CCB466 #66CC81
square
#667ECC #CC66B1 #CCB466 #66CC81
split-complementary
#667ECC #CC8166 #B1CC66
monochromatic
#2E448A #3D5AB8 #667ECC #94A5DB #C2CBEB

Accessibility & contrast

On white

3.87
#667ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#667ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667ECC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667ECC#FFFFFF#000000##000000
##667ECC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CF
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#3A8F9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #667ecc;
/* rgb */ color: rgb(102, 126, 204);
/* oklch */ color: oklch(60.9% 0.122 269.6);
Tailwind
colors: {
  custom: {
    50: '#97a3dc',
    500: '#667ecc',
    950: '#000000',
  },
}
SCSS
$custom: #667ecc;
$custom-light: #97a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#667ecc",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 225.882,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.12196,
    "h": 269.6
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#667ECC
secondary
#DBD1B3
accent
#B94EDA
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #667ECC

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

Preview Lab → · Contrast checker → · Palette generator →

#667ECC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva