#6662F8#6662F8

#6662F8 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.6% C 0.217 H 278.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6662F8
RGBrgb(102, 98, 248)
HSLhsl(242, 91%, 68%)
HSVhsv(242, 60%, 97%)
CMYKcmyk(58.9%, 60.5%, 0%, 2.7%)
CIE-LABlab(49.90, 43.76, -74.71)
CIE-LCHlch(49.90, 86.58, 300.36°)
OKLaboklab(58.6% 0.0321 -0.2148)
OKLCHoklch(58.6% 0.217 278.5)
XYZxyz(26.7850, 18.3355, 90.9164)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662F8 #F4F862
analogous
#62A9F8 #6662F8 #B162F8
triadic
#6662F8 #F86662 #62F866
tetradic
#6662F8 #F862A9 #F4F862 #62F8B1
square
#6662F8 #F862A9 #F4F862 #62F8B1
split-complementary
#6662F8 #F8B162 #A9F862
monochromatic
#0F0AD6 #2D27F5 #6662F8 #9F9DFB #D8D7FD

Accessibility & contrast

On white

4.50
#6662F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6662F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6662F8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662F8#FFFFFF#000000##000000
##6662F81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0071F5
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6662f8;
/* rgb */ color: rgb(102, 98, 248);
/* oklch */ color: oklch(58.6% 0.217 278.5);
Tailwind
colors: {
  custom: {
    50: '#9f8ffc',
    500: '#6662f8',
    950: '#000000',
  },
}
SCSS
$custom: #6662f8;
$custom-light: #9f8ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#6662f8",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 241.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.21724,
    "h": 278.5
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#6662F8
secondary
#F1F2C4
accent
#E600DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6662F8

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

Preview Lab → · Contrast checker → · Palette generator →

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