#668AFB#668AFB

#668AFB is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.172 H 268.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#668AFB
RGBrgb(102, 138, 251)
HSLhsl(226, 95%, 69%)
HSVhsv(226, 59%, 98%)
CMYKcmyk(59.4%, 45%, 0%, 1.6%)
CIE-LABlab(59.86, 20.78, -60.30)
CIE-LCHlch(59.86, 63.78, 289.01°)
OKLaboklab(66.14% -0.0055 -0.1721)
OKLCHoklch(66.14% 0.172 268.2)
XYZxyz(31.9747, 27.9641, 94.9607)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AFB #FBD766
analogous
#66D5FB #668AFB #8D66FB
triadic
#668AFB #FB668A #8AFB66
tetradic
#668AFB #FB66D5 #FBD766 #66FB8D
square
#668AFB #FB66D5 #FBD766 #66FB8D
split-complementary
#668AFB #FB8D66 #D5FB66
monochromatic
#063BE1 #2A5CF9 #668AFB #A2B8FD #DDE5FE

Accessibility & contrast

On white

3.19
#668AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#668AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AFB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AFB#FFFFFF#000000##000000
##668AFB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668afb;
/* rgb */ color: rgb(102, 138, 251);
/* oklch */ color: oklch(66.1% 0.172 268.2);
Tailwind
colors: {
  custom: {
    50: '#9dabfd',
    500: '#668afb',
    950: '#000000',
  },
}
SCSS
$custom: #668afb;
$custom-light: #9dabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#668afb",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 225.503,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.17216,
    "h": 268.2
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#668AFB
secondary
#F4EAC9
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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