#667ECF#667ECF

#667ECF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.126 H 269.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#667ECF
RGBrgb(102, 126, 207)
HSLhsl(226, 52%, 61%)
HSVhsv(226, 51%, 81%)
CMYKcmyk(50.7%, 39.1%, 0%, 18.8%)
CIE-LABlab(54.29, 13.92, -44.61)
CIE-LCHlch(54.29, 46.74, 287.33°)
OKLaboklab(61.09% -0.0002 -0.1262)
OKLCHoklch(61.09% 0.126 269.9)
XYZxyz(24.1992, 22.2499, 62.0389)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667ECF #CFB766
analogous
#66B2CF #667ECF #8266CF
triadic
#667ECF #CF667E #7ECF66
tetradic
#667ECF #CF66B2 #CFB766 #66CF82
square
#667ECF #CF66B2 #CFB766 #66CF82
split-complementary
#667ECF #CF8266 #B2CF66
monochromatic
#2D438E #3B59BD #667ECF #95A5DE #C3CDEC

Accessibility & contrast

On white

3.85
#667ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#667ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667ECF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667ECF#FFFFFF#000000##000000
##667ECF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#537ECD
Tritanopia (blue-blind)
#388F9C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #667ecf;
/* rgb */ color: rgb(102, 126, 207);
/* oklch */ color: oklch(61.1% 0.126 269.9);
Tailwind
colors: {
  custom: {
    50: '#98a3de',
    500: '#667ecf',
    950: '#000000',
  },
}
SCSS
$custom: #667ecf;
$custom-light: #98a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#667ecf",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 226.286,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.12621,
    "h": 269.9
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#667ECF
secondary
#DCD3B4
accent
#9C26C0
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #667ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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