#6366E5#6366E5

#6366E5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.7% C 0.188 H 277.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6366E5
RGBrgb(99, 102, 229)
HSLhsl(239, 71%, 64%)
HSVhsv(239, 57%, 90%)
CMYKcmyk(56.8%, 55.5%, 0%, 10.2%)
CIE-LABlab(49.27, 34.87, -65.11)
CIE-LCHlch(49.27, 73.85, 298.17°)
OKLaboklab(57.66% 0.0252 -0.1867)
OKLCHoklch(57.66% 0.188 277.7)
XYZxyz(24.0353, 17.8108, 76.2848)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E5 #E5E263
analogous
#63A7E5 #6366E5 #A163E5
triadic
#6366E5 #E56366 #66E563
tetradic
#6366E5 #E563A7 #E5E263 #63E5A1
square
#6366E5 #E563A7 #E5E263 #63E5A1
split-complementary
#6366E5 #E5A163 #A7E563
monochromatic
#1D21B0 #2F33DC #6366E5 #9799EE #CCCDF6

Accessibility & contrast

On white

4.60
#6366E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6366E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6366E5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E5#FFFFFF#000000##FFFFFF
##6366E51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#13849C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6366e5;
/* rgb */ color: rgb(99, 102, 229);
/* oklch */ color: oklch(57.7% 0.188 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a91ee',
    500: '#6366e5',
    950: '#000000',
  },
}
SCSS
$custom: #6366e5;
$custom-light: #9a91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e5",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 238.615,
    "s": 71.429,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.18835,
    "h": 277.7
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#6366E5
secondary
#E8E7BB
accent
#CF12D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6366E5

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

Preview Lab → · Contrast checker → · Palette generator →

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