#668FF5#668FF5

#668FF5 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.158 H 265.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#668FF5
RGBrgb(102, 143, 245)
HSLhsl(223, 88%, 68%)
HSVhsv(223, 58%, 96%)
CMYKcmyk(58.4%, 41.6%, 0%, 3.9%)
CIE-LABlab(60.83, 15.85, -55.43)
CIE-LCHlch(60.83, 57.66, 285.95°)
OKLaboklab(66.78% -0.0116 -0.1577)
OKLCHoklch(66.78% 0.158 265.8)
XYZxyz(31.7778, 29.0596, 90.3030)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668FF5 #F5CC66
analogous
#66D7F5 #668FF5 #8466F5
triadic
#668FF5 #F5668F #8FF566
tetradic
#668FF5 #F566D7 #F5CC66 #66F584
square
#668FF5 #F566D7 #F5CC66 #66F584
split-complementary
#668FF5 #F58466 #D7F566
monochromatic
#0E46D3 #2D65F1 #668FF5 #9FB9F9 #D9E3FD

Accessibility & contrast

On white

3.08
#668FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#668FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668FF5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668FF5#FFFFFF#000000##000000
##668FF51.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#00A6B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #668ff5;
/* rgb */ color: rgb(102, 143, 245);
/* oklch */ color: oklch(66.8% 0.158 265.8);
Tailwind
colors: {
  custom: {
    50: '#9caff9',
    500: '#668ff5',
    950: '#000000',
  },
}
SCSS
$custom: #668ff5;
$custom-light: #9caff9;
$custom-dark: #000000;
JSON
{
  "hex": "#668ff5",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 222.797,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.15817,
    "h": 265.8
  },
  "luminance": 0.29062
}

Semantic roles & 50–950 ramp

primary
#668FF5
secondary
#F1E5C6
accent
#A301E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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