#668CF8#668CF8

#668CF8 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.4% C 0.166 H 267.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#668CF8
RGBrgb(102, 140, 248)
HSLhsl(224, 91%, 69%)
HSVhsv(224, 59%, 97%)
CMYKcmyk(58.9%, 43.5%, 0%, 2.7%)
CIE-LABlab(60.21, 18.61, -58.08)
CIE-LCHlch(60.21, 60.99, 287.76°)
OKLaboklab(66.35% -0.008 -0.1655)
OKLCHoklch(66.35% 0.166 267.2)
XYZxyz(31.7951, 28.3556, 92.5864)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CF8 #F8D266
analogous
#66D5F8 #668CF8 #8966F8
triadic
#668CF8 #F8668C #8CF866
tetradic
#668CF8 #F866D5 #F8D266 #66F889
square
#668CF8 #F866D5 #F8D266 #66F889
split-complementary
#668CF8 #F88966 #D5F866
monochromatic
#0A40DA #2B60F5 #668CF8 #A1B8FB #DBE4FD

Accessibility & contrast

On white

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

On black

6.67
#668CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CF8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CF8#FFFFFF#000000##000000
##668CF81.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668cf8;
/* rgb */ color: rgb(102, 140, 248);
/* oklch */ color: oklch(66.4% 0.166 267.2);
Tailwind
colors: {
  custom: {
    50: '#9dadfb',
    500: '#668cf8',
    950: '#000000',
  },
}
SCSS
$custom: #668cf8;
$custom-light: #9dadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#668cf8",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 224.384,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66354,
    "c": 0.16574,
    "h": 267.2
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#668CF8
secondary
#F3E7C7
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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