#668CEE#668CEE

#668CEE is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.152 H 266.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#668CEE
RGBrgb(102, 140, 238)
HSLhsl(223, 80%, 67%)
HSVhsv(223, 57%, 93%)
CMYKcmyk(57.1%, 41.2%, 0%, 6.7%)
CIE-LABlab(59.66, 15.37, -53.43)
CIE-LCHlch(59.66, 55.60, 286.05°)
OKLaboklab(65.76% -0.0097 -0.1519)
OKLCHoklch(65.76% 0.152 266.3)
XYZxyz(30.2850, 27.7516, 84.6330)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CEE #EEC866
analogous
#66D0EE #668CEE #8466EE
triadic
#668CEE #EE668C #8CEE66
tetradic
#668CEE #EE66D0 #EEC866 #66EE84
square
#668CEE #EE66D0 #EEC866 #66EE84
split-complementary
#668CEE #EE8466 #D0EE66
monochromatic
#1646C4 #2F63E8 #668CEE #9DB5F4 #D4DFFA

Accessibility & contrast

On white

3.21
#668CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#668CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CEE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CEE#FFFFFF#000000##000000
##668CEE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668cee;
/* rgb */ color: rgb(102, 140, 238);
/* oklch */ color: oklch(65.8% 0.152 266.3);
Tailwind
colors: {
  custom: {
    50: '#9badf4',
    500: '#668cee',
    950: '#000000',
  },
}
SCSS
$custom: #668cee;
$custom-light: #9badf4;
$custom-dark: #000000;
JSON
{
  "hex": "#668cee",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 223.235,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.15222,
    "h": 266.3
  },
  "luminance": 0.27754
}

Semantic roles & 50–950 ramp

primary
#668CEE
secondary
#EEE2C2
accent
#A109DC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CEE

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

Preview Lab → · Contrast checker → · Palette generator →

#668CEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva