#668CFB#668CFB

#668CFB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.170 H 267.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#668CFB
RGBrgb(102, 140, 251)
HSLhsl(225, 95%, 69%)
HSVhsv(225, 59%, 98%)
CMYKcmyk(59.4%, 44.2%, 0%, 1.6%)
CIE-LABlab(60.38, 19.58, -59.47)
CIE-LCHlch(60.38, 62.61, 288.23°)
OKLaboklab(66.54% -0.0075 -0.1696)
OKLCHoklch(66.54% 0.17 267.5)
XYZxyz(32.2643, 28.5433, 95.0572)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CFB #FBD566
analogous
#66D7FB #668CFB #8B66FB
triadic
#668CFB #FB668C #8CFB66
tetradic
#668CFB #FB66D7 #FBD566 #66FB8B
square
#668CFB #FB66D7 #FBD566 #66FB8B
split-complementary
#668CFB #FB8B66 #D7FB66
monochromatic
#063EE1 #2A5FF9 #668CFB #A2B9FD #DDE6FE

Accessibility & contrast

On white

3.13
#668CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#668CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CFB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CFB#FFFFFF#000000##000000
##668CFB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#00A5B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668cfb;
/* rgb */ color: rgb(102, 140, 251);
/* oklch */ color: oklch(66.5% 0.170 267.5);
Tailwind
colors: {
  custom: {
    50: '#9dadfd',
    500: '#668cfb',
    950: '#000000',
  },
}
SCSS
$custom: #668cfb;
$custom-light: #9dadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#668cfb",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 224.698,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.16978,
    "h": 267.5
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #668CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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