#668EF7#668EF7

#668EF7 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.7% C 0.162 H 266.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#668EF7
RGBrgb(102, 142, 247)
HSLhsl(223, 90%, 68%)
HSVhsv(223, 59%, 97%)
CMYKcmyk(58.7%, 42.5%, 0%, 3.1%)
CIE-LABlab(60.68, 17.09, -56.78)
CIE-LCHlch(60.68, 59.30, 286.75°)
OKLaboklab(66.7% -0.0102 -0.1617)
OKLCHoklch(66.7% 0.162 266.4)
XYZxyz(31.9353, 28.8835, 91.8698)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668EF7 #F7CF66
analogous
#66D7F7 #668EF7 #8666F7
triadic
#668EF7 #F7668E #8EF766
tetradic
#668EF7 #F766D7 #F7CF66 #66F786
square
#668EF7 #F766D7 #F7CF66 #66F786
split-complementary
#668EF7 #F78666 #D7F766
monochromatic
#0B44D7 #2C63F4 #668EF7 #A0B9FA #DAE4FD

Accessibility & contrast

On white

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

On black

6.78
#668EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668EF7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668EF7#FFFFFF#000000##000000
##668EF71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668ef7;
/* rgb */ color: rgb(102, 142, 247);
/* oklch */ color: oklch(66.7% 0.162 266.4);
Tailwind
colors: {
  custom: {
    50: '#9caefa',
    500: '#668ef7',
    950: '#000000',
  },
}
SCSS
$custom: #668ef7;
$custom-light: #9caefa;
$custom-dark: #000000;
JSON
{
  "hex": "#668ef7",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 223.448,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.16203,
    "h": 266.4
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #668EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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