#6662EA#6662EA

#6662EA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.5% C 0.199 H 279.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6662EA
RGBrgb(102, 98, 234)
HSLhsl(242, 76%, 65%)
HSVhsv(242, 58%, 92%)
CMYKcmyk(56.4%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.88, 39.38, -68.53)
CIE-LCHlch(48.88, 79.04, 299.88°)
OKLaboklab(57.54% 0.0326 -0.1967)
OKLCHoklch(57.54% 0.199 279.4)
XYZxyz(24.6938, 17.4990, 79.9024)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6662EA #E6EA62
analogous
#62A2EA #6662EA #AA62EA
triadic
#6662EA #EA6662 #62EA66
tetradic
#6662EA #EA62A2 #E6EA62 #62EAAA
square
#6662EA #EA62A2 #E6EA62 #62EAAA
split-complementary
#6662EA #EAAA62 #A2EA62
monochromatic
#1D19B9 #312CE3 #6662EA #9B98F1 #CFCEF8

Accessibility & contrast

On white

4.67
#6662EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6662EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6662EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6662EA#FFFFFF#000000##FFFFFF
##6662EA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#1A829D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6662ea;
/* rgb */ color: rgb(102, 98, 234);
/* oklch */ color: oklch(57.5% 0.199 279.4);
Tailwind
colors: {
  custom: {
    50: '#9d8ff2',
    500: '#6662ea',
    950: '#000000',
  },
}
SCSS
$custom: #6662ea;
$custom-light: #9d8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6662ea",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 241.765,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.19936,
    "h": 279.4
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#6662EA
secondary
#EAEBBD
accent
#D90DD3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6662EA

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

Preview Lab → · Contrast checker → · Palette generator →

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