#668CD5#668CD5

#668CD5 is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.4% C 0.118 H 262.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#668CD5
RGBrgb(102, 140, 213)
HSLhsl(219, 57%, 62%)
HSVhsv(219, 52%, 84%)
CMYKcmyk(52.1%, 34.3%, 0%, 16.5%)
CIE-LABlab(58.40, 7.45, -41.51)
CIE-LCHlch(58.40, 42.17, 280.17°)
OKLaboklab(64.37% -0.0152 -0.1171)
OKLCHoklch(64.37% 0.118 262.6)
XYZxyz(26.8638, 26.3831, 66.6147)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CD5 #D5AF66
analogous
#66C4D5 #668CD5 #7866D5
triadic
#668CD5 #D5668C #8CD566
tetradic
#668CD5 #D566C4 #D5AF66 #66D578
square
#668CD5 #D566C4 #D5AF66 #66D578
split-complementary
#668CD5 #D57866 #C4D566
monochromatic
#294F97 #3768C7 #668CD5 #96B0E2 #C6D4EF

Accessibility & contrast

On white

3.35
#668CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#668CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CD5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CD5#FFFFFF#000000##000000
##668CD51.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F92D8
Deuteranopia (green-blind)
#6288D3
Tritanopia (blue-blind)
#2E9CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #668cd5;
/* rgb */ color: rgb(102, 140, 213);
/* oklch */ color: oklch(64.4% 0.118 262.6);
Tailwind
colors: {
  custom: {
    50: '#98ade2',
    500: '#668cd5',
    950: '#000000',
  },
}
SCSS
$custom: #668cd5;
$custom-light: #98ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#668cd5",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 219.459,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64367,
    "c": 0.11805,
    "h": 262.6
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#668CD5
secondary
#E0D2B7
accent
#8D21C4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #668CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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