#667ECB#667ECB

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

Color values

HEX#667ECB
RGBrgb(102, 126, 203)
HSLhsl(226, 49%, 60%)
HSVhsv(226, 50%, 80%)
CMYKcmyk(49.8%, 37.9%, 0%, 20.4%)
CIE-LABlab(54.09, 12.68, -42.67)
CIE-LCHlch(54.09, 44.51, 286.55°)
OKLaboklab(60.87% -0.0011 -0.1205)
OKLCHoklch(60.87% 0.121 269.5)
XYZxyz(23.7164, 22.0568, 59.4960)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667ECB #CBB366
analogous
#66B0CB #667ECB #8166CB
triadic
#667ECB #CB667E #7ECB66
tetradic
#667ECB #CB66B0 #CBB366 #66CB81
square
#667ECB #CB66B0 #CBB366 #66CB81
split-complementary
#667ECB #CB8166 #B0CB66
monochromatic
#2E4488 #3E5AB6 #667ECB #94A5DB #C1CBEA

Accessibility & contrast

On white

3.88
#667ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#667ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667ECB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667ECB#FFFFFF#000000##000000
##667ECB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#3B8E9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #667ecb;
/* rgb */ color: rgb(102, 126, 203);
/* oklch */ color: oklch(60.9% 0.121 269.5);
Tailwind
colors: {
  custom: {
    50: '#97a3db',
    500: '#667ecb',
    950: '#000000',
  },
}
SCSS
$custom: #667ecb;
$custom-light: #97a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#667ecb",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 225.743,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.12053,
    "h": 269.5
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#667ECB
secondary
#DAD1B3
accent
#B84FD9
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #667ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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