#668CFC#668CFC

#668CFC is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.171 H 267.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#668CFC
RGBrgb(102, 140, 252)
HSLhsl(225, 96%, 69%)
HSVhsv(225, 60%, 99%)
CMYKcmyk(59.5%, 44.4%, 0%, 1.2%)
CIE-LABlab(60.43, 19.91, -59.92)
CIE-LCHlch(60.43, 63.14, 288.38°)
OKLaboklab(66.6% -0.0074 -0.1709)
OKLCHoklch(66.6% 0.171 267.5)
XYZxyz(32.4223, 28.6065, 95.8896)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CFC #FCD666
analogous
#66D7FC #668CFC #8B66FC
triadic
#668CFC #FC668C #8CFC66
tetradic
#668CFC #FC66D7 #FCD666 #66FC8B
square
#668CFC #FC66D7 #FCD666 #66FC8B
split-complementary
#668CFC #FC8B66 #D7FC66
monochromatic
#043DE3 #2A5FFB #668CFC #A2B9FD #DEE6FE

Accessibility & contrast

On white

3.12
#668CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#668CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CFC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CFC#FFFFFF#000000##000000
##668CFC1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#418BFA
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668cfc;
/* rgb */ color: rgb(102, 140, 252);
/* oklch */ color: oklch(66.6% 0.171 267.5);
Tailwind
colors: {
  custom: {
    50: '#9dadfe',
    500: '#668cfc',
    950: '#000000',
  },
}
SCSS
$custom: #668cfc;
$custom-light: #9dadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#668cfc",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 224.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.17111,
    "h": 267.5
  },
  "luminance": 0.28609
}

Semantic roles & 50–950 ramp

primary
#668CFC
secondary
#F5EAC9
accent
#AB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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