#667AEB#667AEB

#667AEB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.170 H 272.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#667AEB
RGBrgb(102, 122, 235)
HSLhsl(231, 77%, 66%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(56.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(54.80, 25.23, -59.54)
CIE-LCHlch(54.80, 64.66, 292.97°)
OKLaboklab(61.99% 0.0087 -0.17)
OKLCHoklch(61.99% 0.17 272.9)
XYZxyz(27.4295, 22.7400, 81.5250)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667AEB #EBD766
analogous
#66BDEB #667AEB #9466EB
triadic
#667AEB #EB667A #7AEB66
tetradic
#667AEB #EB66BD #EBD766 #66EB94
square
#667AEB #EB66BD #EBD766 #66EB94
split-complementary
#667AEB #EB9466 #BDEB66
monochromatic
#1932BE #304BE4 #667AEB #9CA9F2 #D2D8F9

Accessibility & contrast

On white

3.78
#667AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#667AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667AEB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667AEB#FFFFFF#000000##000000
##667AEB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#0B93A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #667aeb;
/* rgb */ color: rgb(102, 122, 235);
/* oklch */ color: oklch(62.0% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#9ba0f2',
    500: '#667aeb',
    950: '#000000',
  },
}
SCSS
$custom: #667aeb;
$custom-light: #9ba0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#667aeb",
  "rgb": {
    "r": 102,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 230.977,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.17023,
    "h": 272.9
  },
  "luminance": 0.22742
}

Semantic roles & 50–950 ramp

primary
#667AEB
secondary
#ECE6C1
accent
#BA0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #667AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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