#668AF8#668AF8

#668AF8 is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.0% C 0.168 H 268.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#668AF8
RGBrgb(102, 138, 248)
HSLhsl(225, 91%, 69%)
HSVhsv(225, 59%, 97%)
CMYKcmyk(58.9%, 44.4%, 0%, 2.7%)
CIE-LABlab(59.69, 19.80, -58.92)
CIE-LCHlch(59.69, 62.16, 288.58°)
OKLaboklab(65.95% -0.006 -0.168)
OKLCHoklch(65.95% 0.168 268)
XYZxyz(31.5055, 27.7765, 92.4899)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AF8 #F8D466
analogous
#66D3F8 #668AF8 #8B66F8
triadic
#668AF8 #F8668A #8AF866
tetradic
#668AF8 #F866D3 #F8D466 #66F88B
square
#668AF8 #F866D3 #F8D466 #66F88B
split-complementary
#668AF8 #F88B66 #D3F866
monochromatic
#0A3DDA #2B5DF5 #668AF8 #A1B7FB #DBE4FD

Accessibility & contrast

On white

3.20
#668AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#668AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AF8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AF8#FFFFFF#000000##000000
##668AF81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668af8;
/* rgb */ color: rgb(102, 138, 248);
/* oklch */ color: oklch(66.0% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#9dabfb',
    500: '#668af8',
    950: '#000000',
  },
}
SCSS
$custom: #668af8;
$custom-light: #9dabfb;
$custom-dark: #000000;
JSON
{
  "hex": "#668af8",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 225.205,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65953,
    "c": 0.16813,
    "h": 268
  },
  "luminance": 0.27779
}

Semantic roles & 50–950 ramp

primary
#668AF8
secondary
#F3E8C7
accent
#AD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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