#668ECF#668ECF

#668ECF is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.5% C 0.108 H 259.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#668ECF
RGBrgb(102, 142, 207)
HSLhsl(217, 52%, 61%)
HSVhsv(217, 51%, 81%)
CMYKcmyk(50.7%, 31.4%, 0%, 18.8%)
CIE-LABlab(58.67, 4.42, -37.72)
CIE-LCHlch(58.67, 37.97, 276.68°)
OKLaboklab(64.49% -0.0191 -0.106)
OKLCHoklch(64.49% 0.108 259.8)
XYZxyz(26.4112, 26.6739, 62.7762)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668ECF #CFA766
analogous
#66C2CF #668ECF #7266CF
triadic
#668ECF #CF668E #8ECF66
tetradic
#668ECF #CF66C2 #CFA766 #66CF72
square
#668ECF #CF66C2 #CFA766 #66CF72
split-complementary
#668ECF #CF7266 #C2CF66
monochromatic
#2D528E #3B6CBD #668ECF #95B0DE #C3D3EC

Accessibility & contrast

On white

3.31
#668ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#668ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668ECF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668ECF#FFFFFF#000000##000000
##668ECF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#6889CE
Tritanopia (blue-blind)
#349CA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #668ecf;
/* rgb */ color: rgb(102, 142, 207);
/* oklch */ color: oklch(64.5% 0.108 259.8);
Tailwind
colors: {
  custom: {
    50: '#97aede',
    500: '#668ecf',
    950: '#000000',
  },
}
SCSS
$custom: #668ecf;
$custom-light: #97aede;
$custom-dark: #000000;
JSON
{
  "hex": "#668ecf",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 217.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.10774,
    "h": 259.8
  },
  "luminance": 0.26676
}

Semantic roles & 50–950 ramp

primary
#668ECF
secondary
#DCCDB4
accent
#8526C0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #668ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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