#668CF7#668CF7

#668CF7 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.3% C 0.164 H 267.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#668CF7
RGBrgb(102, 140, 247)
HSLhsl(224, 90%, 68%)
HSVhsv(224, 59%, 97%)
CMYKcmyk(58.7%, 43.3%, 0%, 3.1%)
CIE-LABlab(60.15, 18.28, -57.62)
CIE-LCHlch(60.15, 60.45, 287.60°)
OKLaboklab(66.29% -0.0082 -0.1642)
OKLCHoklch(66.29% 0.164 267.2)
XYZxyz(31.6404, 28.2937, 91.7715)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CF7 #F7D166
analogous
#66D4F7 #668CF7 #8866F7
triadic
#668CF7 #F7668C #8CF766
tetradic
#668CF7 #F766D4 #F7D166 #66F788
square
#668CF7 #F766D4 #F7D166 #66F788
split-complementary
#668CF7 #F78866 #D4F766
monochromatic
#0B41D7 #2C60F4 #668CF7 #A0B8FA #DAE3FD

Accessibility & contrast

On white

3.15
#668CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#668CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CF7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CF7#FFFFFF#000000##000000
##668CF71.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668cf7;
/* rgb */ color: rgb(102, 140, 247);
/* oklch */ color: oklch(66.3% 0.164 267.2);
Tailwind
colors: {
  custom: {
    50: '#9dadfa',
    500: '#668cf7',
    950: '#000000',
  },
}
SCSS
$custom: #668cf7;
$custom-light: #9dadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#668cf7",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 224.276,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.16439,
    "h": 267.2
  },
  "luminance": 0.28296
}

Semantic roles & 50–950 ramp

primary
#668CF7
secondary
#F2E7C7
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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