#667FEB#667FEB

#667FEB is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.164 H 271.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#667FEB
RGBrgb(102, 127, 235)
HSLhsl(229, 77%, 66%)
HSVhsv(229, 57%, 92%)
CMYKcmyk(56.6%, 46%, 0%, 7.8%)
CIE-LABlab(56.09, 22.21, -57.48)
CIE-LCHlch(56.09, 61.62, 291.12°)
OKLaboklab(62.97% 0.0035 -0.1639)
OKLCHoklch(62.97% 0.164 271.2)
XYZxyz(28.0593, 23.9996, 81.7349)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667FEB #EBD266
analogous
#66C1EB #667FEB #8F66EB
triadic
#667FEB #EB667F #7FEB66
tetradic
#667FEB #EB66C1 #EBD266 #66EB8F
square
#667FEB #EB66C1 #EBD266 #66EB8F
split-complementary
#667FEB #EB8F66 #C1EB66
monochromatic
#1938BE #3052E4 #667FEB #9CACF2 #D2DAF9

Accessibility & contrast

On white

3.62
#667FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#667FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667FEB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667FEB#FFFFFF#000000##000000
##667FEB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#0797AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #667feb;
/* rgb */ color: rgb(102, 127, 235);
/* oklch */ color: oklch(63.0% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ba3f2',
    500: '#667feb',
    950: '#000000',
  },
}
SCSS
$custom: #667feb;
$custom-light: #9ba3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#667feb",
  "rgb": {
    "r": 102,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 228.722,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.16395,
    "h": 271.2
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#667FEB
secondary
#ECE4C1
accent
#B30CD9
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #667FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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