#668DFC#668DFC

#668DFC is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.170 H 267.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#668DFC
RGBrgb(102, 141, 252)
HSLhsl(224, 96%, 69%)
HSVhsv(224, 60%, 99%)
CMYKcmyk(59.5%, 44%, 0%, 1.2%)
CIE-LABlab(60.69, 19.31, -59.51)
CIE-LCHlch(60.69, 62.56, 287.98°)
OKLaboklab(66.8% -0.0084 -0.1697)
OKLCHoklch(66.8% 0.17 267.2)
XYZxyz(32.5691, 28.9001, 95.9385)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668DFC #FCD566
analogous
#66D8FC #668DFC #8A66FC
triadic
#668DFC #FC668D #8DFC66
tetradic
#668DFC #FC66D8 #FCD566 #66FC8A
square
#668DFC #FC66D8 #FCD566 #66FC8A
split-complementary
#668DFC #FC8A66 #D8FC66
monochromatic
#043EE3 #2A60FB #668DFC #A2BAFD #DEE6FE

Accessibility & contrast

On white

3.10
#668DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#668DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668DFC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668DFC#FFFFFF#000000##000000
##668DFC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668dfc;
/* rgb */ color: rgb(102, 141, 252);
/* oklch */ color: oklch(66.8% 0.170 267.2);
Tailwind
colors: {
  custom: {
    50: '#9dadfe',
    500: '#668dfc',
    950: '#000000',
  },
}
SCSS
$custom: #668dfc;
$custom-light: #9dadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#668dfc",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 224.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.16993,
    "h": 267.2
  },
  "luminance": 0.28903
}

Semantic roles & 50–950 ramp

primary
#668DFC
secondary
#F5E9C9
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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