#668AF7#668AF7

#668AF7 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.167 H 267.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#668AF7
RGBrgb(102, 138, 247)
HSLhsl(225, 90%, 68%)
HSVhsv(225, 59%, 97%)
CMYKcmyk(58.7%, 44.1%, 0%, 3.1%)
CIE-LABlab(59.63, 19.48, -58.46)
CIE-LCHlch(59.63, 61.62, 288.43°)
OKLaboklab(65.89% -0.0061 -0.1667)
OKLCHoklch(65.89% 0.167 267.9)
XYZxyz(31.3508, 27.7146, 91.6750)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AF7 #F7D366
analogous
#66D3F7 #668AF7 #8A66F7
triadic
#668AF7 #F7668A #8AF766
tetradic
#668AF7 #F766D3 #F7D366 #66F78A
square
#668AF7 #F766D3 #F7D366 #66F78A
split-complementary
#668AF7 #F78A66 #D3F766
monochromatic
#0B3ED7 #2C5EF4 #668AF7 #A0B6FA #DAE3FD

Accessibility & contrast

On white

3.21
#668AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#668AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AF7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AF7#FFFFFF#000000##000000
##668AF71.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668af7;
/* rgb */ color: rgb(102, 138, 247);
/* oklch */ color: oklch(65.9% 0.167 267.9);
Tailwind
colors: {
  custom: {
    50: '#9dabfa',
    500: '#668af7',
    950: '#000000',
  },
}
SCSS
$custom: #668af7;
$custom-light: #9dabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#668af7",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 225.103,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65892,
    "c": 0.16678,
    "h": 267.9
  },
  "luminance": 0.27717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #668AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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