#668AEF#668AEF

#668AEF is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.4% C 0.156 H 267.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#668AEF
RGBrgb(102, 138, 239)
HSLhsl(224, 81%, 67%)
HSVhsv(224, 57%, 94%)
CMYKcmyk(57.3%, 42.3%, 0%, 6.3%)
CIE-LABlab(59.19, 16.89, -54.75)
CIE-LCHlch(59.19, 57.29, 287.14°)
OKLaboklab(65.41% -0.0075 -0.1558)
OKLCHoklch(65.41% 0.156 267.3)
XYZxyz(30.1427, 27.2313, 85.3124)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668AEF #EFCB66
analogous
#66CEEF #668AEF #8766EF
triadic
#668AEF #EF668A #8AEF66
tetradic
#668AEF #EF66CE #EFCB66 #66EF87
square
#668AEF #EF66CE #EFCB66 #66EF87
split-complementary
#668AEF #EF8766 #CEEF66
monochromatic
#1543C6 #2F60E9 #668AEF #9DB4F5 #D5DFFB

Accessibility & contrast

On white

3.26
#668AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#668AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668AEF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668AEF#FFFFFF#000000##000000
##668AEF1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #668aef;
/* rgb */ color: rgb(102, 138, 239);
/* oklch */ color: oklch(65.4% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#9babf5',
    500: '#668aef',
    950: '#000000',
  },
}
SCSS
$custom: #668aef;
$custom-light: #9babf5;
$custom-dark: #000000;
JSON
{
  "hex": "#668aef",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 224.234,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6541,
    "c": 0.15595,
    "h": 267.3
  },
  "luminance": 0.27234
}

Semantic roles & 50–950 ramp

primary
#668AEF
secondary
#EEE3C2
accent
#A508DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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