#667ECA#667ECA

#667ECA is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.8% C 0.119 H 269.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#667ECA
RGBrgb(102, 126, 202)
HSLhsl(226, 49%, 60%)
HSVhsv(226, 50%, 79%)
CMYKcmyk(49.5%, 37.6%, 0%, 20.8%)
CIE-LABlab(54.04, 12.37, -42.18)
CIE-LCHlch(54.04, 43.96, 286.35°)
OKLaboklab(60.81% -0.0013 -0.1191)
OKLCHoklch(60.81% 0.119 269.4)
XYZxyz(23.5976, 22.0093, 58.8704)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667ECA #CAB266
analogous
#66B0CA #667ECA #8066CA
triadic
#667ECA #CA667E #7ECA66
tetradic
#667ECA #CA66B0 #CAB266 #66CA80
square
#667ECA #CA66B0 #CAB266 #66CA80
split-complementary
#667ECA #CA8066 #B0CA66
monochromatic
#2F4487 #3E5BB4 #667ECA #93A4DA #C1CBE9

Accessibility & contrast

On white

3.89
#667ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#667ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667ECA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667ECA#FFFFFF#000000##000000
##667ECA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CD
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#3C8E9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #667eca;
/* rgb */ color: rgb(102, 126, 202);
/* oklch */ color: oklch(60.8% 0.119 269.4);
Tailwind
colors: {
  custom: {
    50: '#97a3da',
    500: '#667eca',
    950: '#000000',
  },
}
SCSS
$custom: #667eca;
$custom-light: #97a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#667eca",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 225.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.11912,
    "h": 269.4
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#667ECA
secondary
#D9D0B2
accent
#B750D8
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #667ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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