#6662FC#6662FC

#6662FC is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.9% C 0.222 H 278.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6662FC
RGBrgb(102, 98, 252)
HSLhsl(242, 96%, 69%)
HSVhsv(242, 61%, 99%)
CMYKcmyk(59.5%, 61.1%, 0%, 1.2%)
CIE-LABlab(50.20, 45.00, -76.45)
CIE-LCHlch(50.20, 88.71, 300.48°)
OKLaboklab(58.92% 0.0319 -0.22)
OKLCHoklch(58.92% 0.222 278.3)
XYZxyz(27.4122, 18.5864, 94.2196)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662FC #F8FC62
analogous
#62ABFC #6662FC #B362FC
triadic
#6662FC #FC6662 #62FC66
tetradic
#6662FC #FC62AB #F8FC62 #62FCB3
square
#6662FC #FC62AB #F8FC62 #62FCB3
split-complementary
#6662FC #FCB362 #ABFC62
monochromatic
#0A04DF #2B26FB #6662FC #A19EFD #DBDAFE

Accessibility & contrast

On white

4.45
#6662FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6662FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6662FC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662FC#FFFFFF#000000##000000
##6662FC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#0088A6
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6662fc;
/* rgb */ color: rgb(102, 98, 252);
/* oklch */ color: oklch(58.9% 0.222 278.3);
Tailwind
colors: {
  custom: {
    50: '#9f8ffe',
    500: '#6662fc',
    950: '#000000',
  },
}
SCSS
$custom: #6662fc;
$custom-light: #9f8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6662fc",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 241.558,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.22226,
    "h": 278.3
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#6662FC
secondary
#F3F4C6
accent
#E600E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6662FC

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

Preview Lab → · Contrast checker → · Palette generator →

#6662FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva