#668CF5#668CF5

#668CF5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.2% C 0.162 H 267.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#668CF5
RGBrgb(102, 140, 245)
HSLhsl(224, 88%, 68%)
HSVhsv(224, 58%, 96%)
CMYKcmyk(58.4%, 42.9%, 0%, 3.9%)
CIE-LABlab(60.04, 17.63, -56.70)
CIE-LCHlch(60.04, 59.37, 287.28°)
OKLaboklab(66.17% -0.0085 -0.1615)
OKLCHoklch(66.17% 0.162 267)
XYZxyz(31.3334, 28.1710, 90.1548)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CF5 #F5CF66
analogous
#66D3F5 #668CF5 #8766F5
triadic
#668CF5 #F5668C #8CF566
tetradic
#668CF5 #F566D3 #F5CF66 #66F587
square
#668CF5 #F566D3 #F5CF66 #66F587
split-complementary
#668CF5 #F58766 #D3F566
monochromatic
#0E42D3 #2D61F1 #668CF5 #9FB7F9 #D9E2FD

Accessibility & contrast

On white

3.17
#668CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#668CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CF5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CF5#FFFFFF#000000##000000
##668CF51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668cf5;
/* rgb */ color: rgb(102, 140, 245);
/* oklch */ color: oklch(66.2% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#9cadf9',
    500: '#668cf5',
    950: '#000000',
  },
}
SCSS
$custom: #668cf5;
$custom-light: #9cadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#668cf5",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 224.056,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.1617,
    "h": 267
  },
  "luminance": 0.28174
}

Semantic roles & 50–950 ramp

primary
#668CF5
secondary
#F1E6C6
accent
#A801E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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