#667ED5#667ED5

#667ED5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.135 H 270.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#667ED5
RGBrgb(102, 126, 213)
HSLhsl(227, 57%, 62%)
HSVhsv(227, 52%, 84%)
CMYKcmyk(52.1%, 40.8%, 0%, 16.5%)
CIE-LABlab(54.60, 15.80, -47.51)
CIE-LCHlch(54.60, 50.07, 288.40°)
OKLaboklab(61.44% 0.001 -0.1347)
OKLCHoklch(61.44% 0.135 270.4)
XYZxyz(24.9467, 22.5489, 65.9757)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667ED5 #D5BD66
analogous
#66B6D5 #667ED5 #8666D5
triadic
#667ED5 #D5667E #7ED566
tetradic
#667ED5 #D566B6 #D5BD66 #66D586
square
#667ED5 #D566B6 #D5BD66 #66D586
split-complementary
#667ED5 #D58666 #B6D566
monochromatic
#294197 #3756C7 #667ED5 #96A6E2 #C6CFEF

Accessibility & contrast

On white

3.81
#667ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#667ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667ED5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667ED5#FFFFFF#000000##000000
##667ED51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#32919F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #667ed5;
/* rgb */ color: rgb(102, 126, 213);
/* oklch */ color: oklch(61.4% 0.135 270.4);
Tailwind
colors: {
  custom: {
    50: '#98a3e2',
    500: '#667ed5',
    950: '#000000',
  },
}
SCSS
$custom: #667ed5;
$custom-light: #98a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#667ed5",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 227.027,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.13468,
    "h": 270.4
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#667ED5
secondary
#E0D7B7
accent
#A121C4
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #667ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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