#668ED5#668ED5

#668ED5 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.8% C 0.116 H 261.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#668ED5
RGBrgb(102, 142, 213)
HSLhsl(218, 57%, 62%)
HSVhsv(218, 52%, 84%)
CMYKcmyk(52.1%, 33.3%, 0%, 16.5%)
CIE-LABlab(58.95, 6.27, -40.65)
CIE-LCHlch(58.95, 41.13, 278.77°)
OKLaboklab(64.8% -0.0175 -0.1145)
OKLCHoklch(64.8% 0.116 261.3)
XYZxyz(27.1587, 26.9729, 66.7130)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668ED5 #D5AD66
analogous
#66C6D5 #668ED5 #7666D5
triadic
#668ED5 #D5668E #8ED566
tetradic
#668ED5 #D566C6 #D5AD66 #66D576
square
#668ED5 #D566C6 #D5AD66 #66D576
split-complementary
#668ED5 #D57666 #C6D566
monochromatic
#295197 #376BC7 #668ED5 #96B1E2 #C6D5EF

Accessibility & contrast

On white

3.28
#668ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#668ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668ED5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668ED5#FFFFFF#000000##000000
##668ED51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D8
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#2E9EA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #668ed5;
/* rgb */ color: rgb(102, 142, 213);
/* oklch */ color: oklch(64.8% 0.116 261.3);
Tailwind
colors: {
  custom: {
    50: '#98aee2',
    500: '#668ed5',
    950: '#000000',
  },
}
SCSS
$custom: #668ed5;
$custom-light: #98aee2;
$custom-dark: #000000;
JSON
{
  "hex": "#668ed5",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 213
  },
  "hsl": {
    "h": 218.378,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.11587,
    "h": 261.3
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#668ED5
secondary
#E0D1B7
accent
#8A21C4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #668ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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