#668EF6#668EF6

#668EF6 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.161 H 266.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#668EF6
RGBrgb(102, 142, 246)
HSLhsl(223, 89%, 68%)
HSVhsv(223, 59%, 96%)
CMYKcmyk(58.5%, 42.3%, 0%, 3.5%)
CIE-LABlab(60.62, 16.76, -56.32)
CIE-LCHlch(60.62, 58.76, 286.58°)
OKLaboklab(66.64% -0.0104 -0.1603)
OKLCHoklch(66.64% 0.161 266.3)
XYZxyz(31.7814, 28.8220, 91.0593)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668EF6 #F6CE66
analogous
#66D6F6 #668EF6 #8666F6
triadic
#668EF6 #F6668E #8EF666
tetradic
#668EF6 #F666D6 #F6CE66 #66F686
square
#668EF6 #F666D6 #F6CE66 #66F686
split-complementary
#668EF6 #F68666 #D6F666
monochromatic
#0D44D5 #2C63F3 #668EF6 #A0B9F9 #DAE3FD

Accessibility & contrast

On white

3.10
#668EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#668EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668EF6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668EF6#FFFFFF#000000##000000
##668EF61.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668ef6;
/* rgb */ color: rgb(102, 142, 246);
/* oklch */ color: oklch(66.6% 0.161 266.3);
Tailwind
colors: {
  custom: {
    50: '#9caefa',
    500: '#668ef6',
    950: '#000000',
  },
}
SCSS
$custom: #668ef6;
$custom-light: #9caefa;
$custom-dark: #000000;
JSON
{
  "hex": "#668ef6",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 223.333,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66637,
    "c": 0.16069,
    "h": 266.3
  },
  "luminance": 0.28825
}

Semantic roles & 50–950 ramp

primary
#668EF6
secondary
#F2E6C6
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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