#668BEA#668BEA

#668BEA is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.3% C 0.148 H 266.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#668BEA
RGBrgb(102, 139, 234)
HSLhsl(223, 76%, 66%)
HSVhsv(223, 56%, 92%)
CMYKcmyk(56.4%, 40.6%, 0%, 8.2%)
CIE-LABlab(59.19, 14.68, -51.98)
CIE-LCHlch(59.19, 54.01, 285.77°)
OKLaboklab(65.32% -0.0094 -0.1477)
OKLCHoklch(65.32% 0.148 266.3)
XYZxyz(29.5584, 27.2282, 81.5239)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668BEA #EAC566
analogous
#66CDEA #668BEA #8366EA
triadic
#668BEA #EA668B #8BEA66
tetradic
#668BEA #EA66CD #EAC566 #66EA83
square
#668BEA #EA66CD #EAC566 #66EA83
split-complementary
#668BEA #EA8366 #CDEA66
monochromatic
#1A47BC #3062E3 #668BEA #9CB4F1 #D2DDF9

Accessibility & contrast

On white

3.26
#668BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#668BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668BEA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668BEA#FFFFFF#000000##000000
##668BEA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #668bea;
/* rgb */ color: rgb(102, 139, 234);
/* oklch */ color: oklch(65.3% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#9bacf1',
    500: '#668bea',
    950: '#000000',
  },
}
SCSS
$custom: #668bea;
$custom-light: #9bacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#668bea",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 223.182,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6532,
    "c": 0.14796,
    "h": 266.3
  },
  "luminance": 0.27231
}

Semantic roles & 50–950 ramp

primary
#668BEA
secondary
#ECDFC0
accent
#9F0DD8
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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