#667EBA#667EBA

#667EBA is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.0% C 0.096 H 266.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#667EBA
RGBrgb(102, 126, 186)
HSLhsl(223, 38%, 56%)
HSVhsv(223, 45%, 73%)
CMYKcmyk(45.2%, 32.3%, 0%, 27.1%)
CIE-LABlab(53.27, 7.50, -34.26)
CIE-LCHlch(53.27, 35.07, 282.35°)
OKLaboklab(59.96% -0.0052 -0.0961)
OKLCHoklch(59.96% 0.096 266.9)
XYZxyz(21.8005, 21.2904, 49.4056)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667EBA #BAA266
analogous
#66A8BA #667EBA #7866BA
triadic
#667EBA #BA667E #7EBA66
tetradic
#667EBA #BA66A8 #BAA266 #66BA78
square
#667EBA #BA66A8 #BAA266 #66BA78
split-complementary
#667EBA #BA7866 #A8BA66
monochromatic
#334572 #465F9C #667EBA #90A2CD #BAC5E0

Accessibility & contrast

On white

3.99
#667EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#667EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667EBA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667EBA#FFFFFF#000000##000000
##667EBA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BD
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#478B94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #667eba;
/* rgb */ color: rgb(102, 126, 186);
/* oklch */ color: oklch(60.0% 0.096 266.9);
Tailwind
colors: {
  custom: {
    50: '#95a3cf',
    500: '#667eba',
    950: '#000000',
  },
}
SCSS
$custom: #667eba;
$custom-light: #95a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#667eba",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 222.857,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.09624,
    "h": 266.9
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#667EBA
secondary
#CFC5AD
accent
#AD5ACE
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0E0F14
muted
#7E7F82

Preview Lab

Preview with #667EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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