#6366E6#6366E6

#6366E6 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.190 H 277.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6366E6
RGBrgb(99, 102, 230)
HSLhsl(239, 72%, 65%)
HSVhsv(239, 57%, 90%)
CMYKcmyk(57%, 55.7%, 0%, 9.8%)
CIE-LABlab(49.33, 35.18, -65.56)
CIE-LCHlch(49.33, 74.40, 298.22°)
OKLaboklab(57.73% 0.0252 -0.188)
OKLCHoklch(57.73% 0.19 277.6)
XYZxyz(24.1753, 17.8669, 77.0223)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E6 #E6E363
analogous
#63A8E6 #6366E6 #A263E6
triadic
#6366E6 #E66366 #66E663
tetradic
#6366E6 #E663A8 #E6E363 #63E6A2
square
#6366E6 #E663A8 #E6E363 #63E6A2
split-complementary
#6366E6 #E6A263 #A8E663
monochromatic
#1D20B2 #2E32DE #6366E6 #989AEE #CCCDF7

Accessibility & contrast

On white

4.59
#6366E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6366E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6366E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E6#FFFFFF#000000##FFFFFF
##6366E61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#10849C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6366e6;
/* rgb */ color: rgb(99, 102, 230);
/* oklch */ color: oklch(57.7% 0.190 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a91ef',
    500: '#6366e6',
    950: '#000000',
  },
}
SCSS
$custom: #6366e6;
$custom-light: #9a91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e6",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 238.626,
    "s": 72.376,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57728,
    "c": 0.18968,
    "h": 277.6
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#6366E6
secondary
#E9E8BC
accent
#D011D4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6366E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6366E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva