#667EEB#667EEB

#667EEB is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.165 H 271.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#667EEB
RGBrgb(102, 126, 235)
HSLhsl(229, 77%, 66%)
HSVhsv(229, 57%, 92%)
CMYKcmyk(56.6%, 46.4%, 0%, 7.8%)
CIE-LABlab(55.83, 22.81, -57.89)
CIE-LCHlch(55.83, 62.22, 291.51°)
OKLaboklab(62.77% 0.0045 -0.1651)
OKLCHoklch(62.77% 0.165 271.6)
XYZxyz(27.9308, 23.7425, 81.6921)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667EEB #EBD366
analogous
#66C0EB #667EEB #9066EB
triadic
#667EEB #EB667E #7EEB66
tetradic
#667EEB #EB66C0 #EBD366 #66EB90
square
#667EEB #EB66C0 #EBD366 #66EB90
split-complementary
#667EEB #EB9066 #C0EB66
monochromatic
#1937BE #3050E4 #667EEB #9CACF2 #D2D9F9

Accessibility & contrast

On white

3.65
#667EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#667EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #667EEB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667EEB#FFFFFF#000000##000000
##667EEB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#0896A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #667eeb;
/* rgb */ color: rgb(102, 126, 235);
/* oklch */ color: oklch(62.8% 0.165 271.6);
Tailwind
colors: {
  custom: {
    50: '#9ba3f2',
    500: '#667eeb',
    950: '#000000',
  },
}
SCSS
$custom: #667eeb;
$custom-light: #9ba3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#667eeb",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 229.173,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.1652,
    "h": 271.6
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #667EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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