#668CF2#668CF2

#668CF2 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.0% C 0.158 H 266.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#668CF2
RGBrgb(102, 140, 242)
HSLhsl(224, 84%, 67%)
HSVhsv(224, 58%, 95%)
CMYKcmyk(57.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(59.88, 16.66, -55.30)
CIE-LCHlch(59.88, 57.76, 286.77°)
OKLaboklab(65.99% -0.009 -0.1574)
OKLCHoklch(65.99% 0.158 266.7)
XYZxyz(30.8792, 27.9892, 87.7624)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668CF2 #F2CC66
analogous
#66D2F2 #668CF2 #8666F2
triadic
#668CF2 #F2668C #8CF266
tetradic
#668CF2 #F266D2 #F2CC66 #66F286
square
#668CF2 #F266D2 #F2CC66 #66F286
split-complementary
#668CF2 #F28666 #D2F266
monochromatic
#1144CC #2E62ED #668CF2 #9EB6F7 #D7E1FC

Accessibility & contrast

On white

3.18
#668CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#668CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668CF2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668CF2#FFFFFF#000000##000000
##668CF21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #668cf2;
/* rgb */ color: rgb(102, 140, 242);
/* oklch */ color: oklch(66.0% 0.158 266.7);
Tailwind
colors: {
  custom: {
    50: '#9cadf7',
    500: '#668cf2',
    950: '#000000',
  },
}
SCSS
$custom: #668cf2;
$custom-light: #9cadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#668cf2",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 223.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65994,
    "c": 0.15765,
    "h": 266.7
  },
  "luminance": 0.27992
}

Semantic roles & 50–950 ramp

primary
#668CF2
secondary
#F0E4C4
accent
#A505E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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