#668AFF#668AFF

#668AFF is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.4% C 0.178 H 268.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#668AFF
RGBrgb(102, 138, 255)
HSLhsl(226, 100%, 70%)
HSVhsv(226, 60%, 100%)
CMYKcmyk(60%, 45.9%, 0%, 0%)
CIE-LABlab(60.09, 22.08, -62.13)
CIE-LCHlch(60.09, 65.93, 289.57°)
OKLaboklab(66.39% -0.005 -0.1774)
OKLCHoklch(66.39% 0.178 268.4)
XYZxyz(32.6119, 28.2190, 98.3166)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AFF #FFDB66
analogous
#66D7FF #668AFF #8E66FF
triadic
#668AFF #FF668A #8AFF66
tetradic
#668AFF #FF66D7 #FFDB66 #66FF8E
square
#668AFF #FF66D7 #FFDB66 #66FF8E
split-complementary
#668AFF #FF8E66 #D7FF66
monochromatic
#0037EB #295BFF #668AFF #A3B9FF #E0E8FF

Accessibility & contrast

On white

3.16
#668AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#668AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AFF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AFF#FFFFFF#000000##000000
##668AFF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#388AFD
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668aff;
/* rgb */ color: rgb(102, 138, 255);
/* oklch */ color: oklch(66.4% 0.178 268.4);
Tailwind
colors: {
  custom: {
    50: '#9eabff',
    500: '#668aff',
    950: '#000000',
  },
}
SCSS
$custom: #668aff;
$custom-light: #9eabff;
$custom-dark: #000000;
JSON
{
  "hex": "#668aff",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 225.882,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.17752,
    "h": 268.4
  },
  "luminance": 0.28222
}

Semantic roles & 50–950 ramp

primary
#668AFF
secondary
#F6ECCB
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #668AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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