#668CFE#668CFE

#668CFE is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.7% C 0.174 H 267.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#668CFE
RGBrgb(102, 140, 254)
HSLhsl(225, 99%, 70%)
HSVhsv(225, 60%, 100%)
CMYKcmyk(59.8%, 44.9%, 0%, 0.4%)
CIE-LABlab(60.55, 20.56, -60.84)
CIE-LCHlch(60.55, 64.22, 288.67°)
OKLaboklab(66.72% -0.0071 -0.1736)
OKLCHoklch(66.72% 0.174 267.7)
XYZxyz(32.7409, 28.7339, 97.5675)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CFE #FED866
analogous
#66D8FE #668CFE #8C66FE
triadic
#668CFE #FE668C #8CFE66
tetradic
#668CFE #FE66D8 #FED866 #66FE8C
square
#668CFE #FE66D8 #FED866 #66FE8C
split-complementary
#668CFE #FE8C66 #D8FE66
monochromatic
#023BE8 #295EFE #668CFE #A3BAFE #E0E7FF

Accessibility & contrast

On white

3.11
#668CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#668CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CFE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CFE#FFFFFF#000000##000000
##668CFE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#3E8CFC
Tritanopia (blue-blind)
#00A6B9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668cfe;
/* rgb */ color: rgb(102, 140, 254);
/* oklch */ color: oklch(66.7% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#9eadff',
    500: '#668cfe',
    950: '#000000',
  },
}
SCSS
$custom: #668cfe;
$custom-light: #9eadff;
$custom-dark: #000000;
JSON
{
  "hex": "#668cfe",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 225,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66721,
    "c": 0.17379,
    "h": 267.7
  },
  "luminance": 0.28737
}

Semantic roles & 50–950 ramp

primary
#668CFE
secondary
#F5EBCA
accent
#AC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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