#668EFE#668EFE

#668EFE is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.1% C 0.171 H 267.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#668EFE
RGBrgb(102, 142, 254)
HSLhsl(224, 99%, 70%)
HSVhsv(224, 60%, 100%)
CMYKcmyk(59.8%, 44.1%, 0%, 0.4%)
CIE-LABlab(61.07, 19.37, -60.01)
CIE-LCHlch(61.07, 63.06, 287.89°)
OKLaboklab(67.12% -0.0091 -0.1712)
OKLCHoklch(67.12% 0.171 267)
XYZxyz(33.0358, 29.3237, 97.6658)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668EFE #FED666
analogous
#66DAFE #668EFE #8A66FE
triadic
#668EFE #FE668E #8EFE66
tetradic
#668EFE #FE66DA #FED666 #66FE8A
square
#668EFE #FE66DA #FED666 #66FE8A
split-complementary
#668EFE #FE8A66 #DAFE66
monochromatic
#023EE8 #2961FE #668EFE #A3BBFE #E0E8FF

Accessibility & contrast

On white

3.06
#668EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#668EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668EFE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668EFE#FFFFFF#000000##000000
##668EFE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#438DFC
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #668efe;
/* rgb */ color: rgb(102, 142, 254);
/* oklch */ color: oklch(67.1% 0.171 267.0);
Tailwind
colors: {
  custom: {
    50: '#9daeff',
    500: '#668efe',
    950: '#000000',
  },
}
SCSS
$custom: #668efe;
$custom-light: #9daeff;
$custom-dark: #000000;
JSON
{
  "hex": "#668efe",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 224.211,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67119,
    "c": 0.17142,
    "h": 267
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#668EFE
secondary
#F5EACA
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #668EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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