#668BFB#668BFB

#668BFB is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.3% C 0.171 H 267.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#668BFB
RGBrgb(102, 139, 251)
HSLhsl(225, 95%, 69%)
HSVhsv(225, 59%, 98%)
CMYKcmyk(59.4%, 44.6%, 0%, 1.6%)
CIE-LABlab(60.12, 20.18, -59.88)
CIE-LCHlch(60.12, 63.19, 288.62°)
OKLaboklab(66.34% -0.0065 -0.1708)
OKLCHoklch(66.34% 0.171 267.8)
XYZxyz(32.1188, 28.2524, 95.0087)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668BFB #FBD666
analogous
#66D5FB #668BFB #8C66FB
triadic
#668BFB #FB668B #8BFB66
tetradic
#668BFB #FB66D5 #FBD666 #66FB8C
square
#668BFB #FB66D5 #FBD666 #66FB8C
split-complementary
#668BFB #FB8C66 #D5FB66
monochromatic
#063CE1 #2A5EF9 #668BFB #A2B8FD #DDE5FE

Accessibility & contrast

On white

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

On black

6.65
#668BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668BFB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668BFB#FFFFFF#000000##000000
##668BFB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668bfb;
/* rgb */ color: rgb(102, 139, 251);
/* oklch */ color: oklch(66.3% 0.171 267.8);
Tailwind
colors: {
  custom: {
    50: '#9dacfd',
    500: '#668bfb',
    950: '#000000',
  },
}
SCSS
$custom: #668bfb;
$custom-light: #9dacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#668bfb",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 225.101,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66337,
    "c": 0.17096,
    "h": 267.8
  },
  "luminance": 0.28255
}

Semantic roles & 50–950 ramp

primary
#668BFB
secondary
#F4E9C9
accent
#AD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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