#6663EB#6663EB

#6663EB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.199 H 279.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6663EB
RGBrgb(102, 99, 235)
HSLhsl(241, 77%, 65%)
HSVhsv(241, 58%, 92%)
CMYKcmyk(56.6%, 57.9%, 0%, 7.8%)
CIE-LABlab(49.19, 39.10, -68.60)
CIE-LCHlch(49.19, 78.96, 299.68°)
OKLaboklab(57.78% 0.0316 -0.1969)
OKLCHoklch(57.78% 0.199 279.1)
XYZxyz(24.9320, 17.7449, 80.6925)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6663EB #E8EB63
analogous
#63A4EB #6663EB #AA63EB
triadic
#6663EB #EB6663 #63EB66
tetradic
#6663EB #EB63A4 #E8EB63 #63EBAA
square
#6663EB #EB63A4 #E8EB63 #63EBAA
split-complementary
#6663EB #EBAA63 #A4EB63
monochromatic
#1C18BC #312DE4 #6663EB #9B99F2 #D0CFF9

Accessibility & contrast

On white

4.62
#6663EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6663EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6663EB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6663EB#FFFFFF#000000##FFFFFF
##6663EB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#17839D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6663eb;
/* rgb */ color: rgb(102, 99, 235);
/* oklch */ color: oklch(57.8% 0.199 279.1);
Tailwind
colors: {
  custom: {
    50: '#9d8ff2',
    500: '#6663eb',
    950: '#000000',
  },
}
SCSS
$custom: #6663eb;
$custom-light: #9d8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6663eb",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 241.324,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.1994,
    "h": 279.1
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#6663EB
secondary
#EBECBE
accent
#DA0CD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6663EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6663EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva