#668EF2#668EF2

#668EF2 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.155 H 265.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#668EF2
RGBrgb(102, 142, 242)
HSLhsl(223, 84%, 67%)
HSVhsv(223, 58%, 95%)
CMYKcmyk(57.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(60.41, 15.47, -54.46)
CIE-LCHlch(60.41, 56.61, 285.86°)
OKLaboklab(66.4% -0.0111 -0.1549)
OKLCHoklch(66.4% 0.155 265.9)
XYZxyz(31.1741, 28.5790, 87.8607)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668EF2 #F2CA66
analogous
#66D4F2 #668EF2 #8466F2
triadic
#668EF2 #F2668E #8EF266
tetradic
#668EF2 #F266D4 #F2CA66 #66F284
square
#668EF2 #F266D4 #F2CA66 #66F284
split-complementary
#668EF2 #F28466 #D4F266
monochromatic
#1147CC #2E64ED #668EF2 #9EB8F7 #D7E1FC

Accessibility & contrast

On white

3.13
#668EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#668EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668EF2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668EF2#FFFFFF#000000##000000
##668EF21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #668ef2;
/* rgb */ color: rgb(102, 142, 242);
/* oklch */ color: oklch(66.4% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#9caef7',
    500: '#668ef2',
    950: '#000000',
  },
}
SCSS
$custom: #668ef2;
$custom-light: #9caef7;
$custom-dark: #000000;
JSON
{
  "hex": "#668ef2",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 222.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.15529,
    "h": 265.9
  },
  "luminance": 0.28582
}

Semantic roles & 50–950 ramp

primary
#668EF2
secondary
#F0E3C4
accent
#A205E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #668EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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