#668AEB#668AEB

#668AEB is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.2% C 0.150 H 266.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#668AEB
RGBrgb(102, 138, 235)
HSLhsl(224, 77%, 66%)
HSVhsv(224, 57%, 92%)
CMYKcmyk(56.6%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.97, 15.60, -52.87)
CIE-LCHlch(58.97, 55.13, 286.44°)
OKLaboklab(65.17% -0.0082 -0.1503)
OKLCHoklch(65.17% 0.151 266.9)
XYZxyz(29.5583, 26.9976, 82.2346)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AEB #EBC766
analogous
#66CDEB #668AEB #8466EB
triadic
#668AEB #EB668A #8AEB66
tetradic
#668AEB #EB66CD #EBC766 #66EB84
square
#668AEB #EB66CD #EBC766 #66EB84
split-complementary
#668AEB #EB8466 #CDEB66
monochromatic
#1945BE #3061E4 #668AEB #9CB3F2 #D2DDF9

Accessibility & contrast

On white

3.28
#668AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#668AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AEB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AEB#FFFFFF#000000##000000
##668AEB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #668aeb;
/* rgb */ color: rgb(102, 138, 235);
/* oklch */ color: oklch(65.2% 0.150 266.9);
Tailwind
colors: {
  custom: {
    50: '#9babf2',
    500: '#668aeb',
    950: '#000000',
  },
}
SCSS
$custom: #668aeb;
$custom-light: #9babf2;
$custom-dark: #000000;
JSON
{
  "hex": "#668aeb",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 223.759,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65174,
    "c": 0.1505,
    "h": 266.9
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#668AEB
secondary
#ECE0C1
accent
#A20CD9
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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