#668CF4#668CF4

#668CF4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.160 H 266.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#668CF4
RGBrgb(102, 140, 244)
HSLhsl(224, 87%, 68%)
HSVhsv(224, 58%, 96%)
CMYKcmyk(58.2%, 42.6%, 0%, 4.3%)
CIE-LABlab(59.99, 17.31, -56.23)
CIE-LCHlch(59.99, 58.84, 287.11°)
OKLaboklab(66.11% -0.0087 -0.1601)
OKLCHoklch(66.11% 0.16 266.9)
XYZxyz(31.1812, 28.1101, 89.3530)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CF4 #F4CE66
analogous
#66D3F4 #668CF4 #8766F4
triadic
#668CF4 #F4668C #8CF466
tetradic
#668CF4 #F466D3 #F4CE66 #66F487
square
#668CF4 #F466D3 #F4CE66 #66F487
split-complementary
#668CF4 #F48766 #D3F466
monochromatic
#0F43D1 #2D61F0 #668CF4 #9FB7F8 #D8E2FC

Accessibility & contrast

On white

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

On black

6.62
#668CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CF4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CF4#FFFFFF#000000##000000
##668CF41.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F8
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #668cf4;
/* rgb */ color: rgb(102, 140, 244);
/* oklch */ color: oklch(66.1% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#9cadf8',
    500: '#668cf4',
    950: '#000000',
  },
}
SCSS
$custom: #668cf4;
$custom-light: #9cadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#668cf4",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 223.944,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.16034,
    "h": 266.9
  },
  "luminance": 0.28113
}

Semantic roles & 50–950 ramp

primary
#668CF4
secondary
#F1E5C5
accent
#A702E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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