#668AFD#668AFD

#668AFD is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.3% C 0.175 H 268.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#668AFD
RGBrgb(102, 138, 253)
HSLhsl(226, 97%, 70%)
HSVhsv(226, 60%, 99%)
CMYKcmyk(59.7%, 45.5%, 0%, 0.8%)
CIE-LABlab(59.97, 21.43, -61.21)
CIE-LCHlch(59.97, 64.86, 289.29°)
OKLaboklab(66.26% -0.0052 -0.1748)
OKLCHoklch(66.26% 0.175 268.3)
XYZxyz(32.2916, 28.0909, 96.6298)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AFD #FDD966
analogous
#66D6FD #668AFD #8D66FD
triadic
#668AFD #FD668A #8AFD66
tetradic
#668AFD #FD66D6 #FDD966 #66FD8D
square
#668AFD #FD66D6 #FDD966 #66FD8D
split-complementary
#668AFD #FD8D66 #D6FD66
monochromatic
#0339E6 #2A5CFC #668AFD #A2B8FE #DFE6FF

Accessibility & contrast

On white

3.17
#668AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#668AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AFD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AFD#FFFFFF#000000##000000
##668AFD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668afd;
/* rgb */ color: rgb(102, 138, 253);
/* oklch */ color: oklch(66.3% 0.175 268.3);
Tailwind
colors: {
  custom: {
    50: '#9dabff',
    500: '#668afd',
    950: '#000000',
  },
}
SCSS
$custom: #668afd;
$custom-light: #9dabff;
$custom-dark: #000000;
JSON
{
  "hex": "#668afd",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 225.695,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.17484,
    "h": 268.3
  },
  "luminance": 0.28094
}

Semantic roles & 50–950 ramp

primary
#668AFD
secondary
#F5EBCA
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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