#6662FB#6662FB

#6662FB is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.8% C 0.221 H 278.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6662FB
RGBrgb(102, 98, 251)
HSLhsl(242, 95%, 68%)
HSVhsv(242, 61%, 98%)
CMYKcmyk(59.4%, 61%, 0%, 1.6%)
CIE-LABlab(50.12, 44.69, -76.01)
CIE-LCHlch(50.12, 88.18, 300.45°)
OKLaboklab(58.84% 0.032 -0.2187)
OKLCHoklch(58.84% 0.221 278.3)
XYZxyz(27.2542, 18.5232, 93.3872)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662FB #F7FB62
analogous
#62AAFB #6662FB #B362FB
triadic
#6662FB #FB6662 #62FB66
tetradic
#6662FB #FB62AA #F7FB62 #62FBB3
square
#6662FB #FB62AA #F7FB62 #62FBB3
split-complementary
#6662FB #FBB362 #AAFB62
monochromatic
#0B06DD #2C26F9 #6662FB #A09EFD #DAD9FE

Accessibility & contrast

On white

4.46
#6662FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6662FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6662FB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662FB#FFFFFF#000000##000000
##6662FB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6662fb;
/* rgb */ color: rgb(102, 98, 251);
/* oklch */ color: oklch(58.8% 0.221 278.3);
Tailwind
colors: {
  custom: {
    50: '#9f8ffe',
    500: '#6662fb',
    950: '#000000',
  },
}
SCSS
$custom: #6662fb;
$custom-light: #9f8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6662fb",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 241.569,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.221,
    "h": 278.3
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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