#6663EA#6663EA

#6663EA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.7% C 0.198 H 279.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6663EA
RGBrgb(102, 99, 234)
HSLhsl(241, 76%, 65%)
HSVhsv(241, 58%, 92%)
CMYKcmyk(56.4%, 57.7%, 0%, 8.2%)
CIE-LABlab(49.11, 38.78, -68.15)
CIE-LCHlch(49.11, 78.42, 299.64°)
OKLaboklab(57.71% 0.0316 -0.1956)
OKLCHoklch(57.71% 0.198 279.2)
XYZxyz(24.7879, 17.6873, 79.9337)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6663EA #E7EA63
analogous
#63A4EA #6663EA #A963EA
triadic
#6663EA #EA6663 #63EA66
tetradic
#6663EA #EA63A4 #E7EA63 #63EAA9
square
#6663EA #EA63A4 #E7EA63 #63EAA9
split-complementary
#6663EA #EAA963 #A4EA63
monochromatic
#1D19BA #312DE3 #6663EA #9B99F1 #D0CFF9

Accessibility & contrast

On white

4.63
#6663EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6663EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6663EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6663EA#FFFFFF#000000##FFFFFF
##6663EA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#1A839D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6663ea;
/* rgb */ color: rgb(102, 99, 234);
/* oklch */ color: oklch(57.7% 0.198 279.2);
Tailwind
colors: {
  custom: {
    50: '#9d8ff2',
    500: '#6663ea',
    950: '#000000',
  },
}
SCSS
$custom: #6663ea;
$custom-light: #9d8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6663ea",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 241.333,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.19811,
    "h": 279.2
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#6663EA
secondary
#EAEBBE
accent
#D80DD4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6663EA

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

Preview Lab → · Contrast checker → · Palette generator →

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