#668EFF#668EFF

#668EFF is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.173 H 267.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#668EFF
RGBrgb(102, 142, 255)
HSLhsl(224, 100%, 70%)
HSVhsv(224, 60%, 100%)
CMYKcmyk(60%, 44.3%, 0%, 0%)
CIE-LABlab(61.12, 19.69, -60.47)
CIE-LCHlch(61.12, 63.59, 288.04°)
OKLaboklab(67.18% -0.0089 -0.1725)
OKLCHoklch(67.18% 0.173 267)
XYZxyz(33.1963, 29.3880, 98.5114)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668EFF #FFD766
analogous
#66DAFF #668EFF #8B66FF
triadic
#668EFF #FF668E #8EFF66
tetradic
#668EFF #FF66DA #FFD766 #66FF8B
square
#668EFF #FF66DA #FFD766 #66FF8B
split-complementary
#668EFF #FF8B66 #DAFF66
monochromatic
#003DEB #2961FF #668EFF #A3BBFF #E0E8FF

Accessibility & contrast

On white

3.05
#668EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#668EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668EFF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668EFF#FFFFFF#000000##000000
##668EFF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#418DFD
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #668eff;
/* rgb */ color: rgb(102, 142, 255);
/* oklch */ color: oklch(67.2% 0.173 267.0);
Tailwind
colors: {
  custom: {
    50: '#9eaeff',
    500: '#668eff',
    950: '#000000',
  },
}
SCSS
$custom: #668eff;
$custom-light: #9eaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#668eff",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 224.314,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.17275,
    "h": 267
  },
  "luminance": 0.29391
}

Semantic roles & 50–950 ramp

primary
#668EFF
secondary
#F6EBCB
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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