#668CEF#668CEF

#668CEF is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.154 H 266.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#668CEF
RGBrgb(102, 140, 239)
HSLhsl(223, 81%, 67%)
HSVhsv(223, 57%, 94%)
CMYKcmyk(57.3%, 41.4%, 0%, 6.3%)
CIE-LABlab(59.72, 15.69, -53.90)
CIE-LCHlch(59.72, 56.14, 286.23°)
OKLaboklab(65.82% -0.0096 -0.1533)
OKLCHoklch(65.82% 0.154 266.4)
XYZxyz(30.4323, 27.8105, 85.4089)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CEF #EFC966
analogous
#66D0EF #668CEF #8566EF
triadic
#668CEF #EF668C #8CEF66
tetradic
#668CEF #EF66D0 #EFC966 #66EF85
square
#668CEF #EF66D0 #EFC966 #66EF85
split-complementary
#668CEF #EF8566 #D0EF66
monochromatic
#1546C6 #2F62E9 #668CEF #9DB6F5 #D5DFFB

Accessibility & contrast

On white

3.20
#668CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#668CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CEF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CEF#FFFFFF#000000##000000
##668CEF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668cef;
/* rgb */ color: rgb(102, 140, 239);
/* oklch */ color: oklch(65.8% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#9badf5',
    500: '#668cef',
    950: '#000000',
  },
}
SCSS
$custom: #668cef;
$custom-light: #9badf5;
$custom-dark: #000000;
JSON
{
  "hex": "#668cef",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 223.358,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.15358,
    "h": 266.4
  },
  "luminance": 0.27813
}

Semantic roles & 50–950 ramp

primary
#668CEF
secondary
#EEE2C2
accent
#A208DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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