#667CEB#667CEB

#667CEB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.168 H 272.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#667CEB
RGBrgb(102, 124, 235)
HSLhsl(230, 77%, 66%)
HSVhsv(230, 57%, 92%)
CMYKcmyk(56.6%, 47.2%, 0%, 7.8%)
CIE-LABlab(55.31, 24.02, -58.72)
CIE-LCHlch(55.31, 63.44, 292.25°)
OKLaboklab(62.38% 0.0066 -0.1676)
OKLCHoklch(62.38% 0.168 272.3)
XYZxyz(27.6776, 23.2362, 81.6077)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667CEB #EBD566
analogous
#66BEEB #667CEB #9266EB
triadic
#667CEB #EB667C #7CEB66
tetradic
#667CEB #EB66BE #EBD566 #66EB92
square
#667CEB #EB66BE #EBD566 #66EB92
split-complementary
#667CEB #EB9266 #BEEB66
monochromatic
#1934BE #304EE4 #667CEB #9CAAF2 #D2D9F9

Accessibility & contrast

On white

3.72
#667CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#667CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667CEB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667CEB#FFFFFF#000000##000000
##667CEB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEF
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#0995A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #667ceb;
/* rgb */ color: rgb(102, 124, 235);
/* oklch */ color: oklch(62.4% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#9ba1f2',
    500: '#667ceb',
    950: '#000000',
  },
}
SCSS
$custom: #667ceb;
$custom-light: #9ba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#667ceb",
  "rgb": {
    "r": 102,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 230.075,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.16771,
    "h": 272.3
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#667CEB
secondary
#ECE5C1
accent
#B70CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #667CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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