#6366E7#6366E7

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

Color values

HEX#6366E7
RGBrgb(99, 102, 231)
HSLhsl(239, 73%, 65%)
HSVhsv(239, 57%, 91%)
CMYKcmyk(57.1%, 55.8%, 0%, 9.4%)
CIE-LABlab(49.40, 35.50, -66.01)
CIE-LCHlch(49.40, 74.95, 298.27°)
OKLaboklab(57.8% 0.0253 -0.1893)
OKLCHoklch(57.8% 0.191 277.6)
XYZxyz(24.3162, 17.9232, 77.7640)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E7 #E7E463
analogous
#63A8E7 #6366E7 #A263E7
triadic
#6366E7 #E76366 #66E763
tetradic
#6366E7 #E763A8 #E7E463 #63E7A2
square
#6366E7 #E763A8 #E7E463 #63E7A2
split-complementary
#6366E7 #E7A263 #A8E763
monochromatic
#1C1FB4 #2E32DF #6366E7 #989AEF #CDCEF7

Accessibility & contrast

On white

4.58
#6366E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6366E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366E7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E7#FFFFFF#000000##000000
##6366E71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#0C849D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6366e7;
/* rgb */ color: rgb(99, 102, 231);
/* oklch */ color: oklch(57.8% 0.191 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a91ef',
    500: '#6366e7',
    950: '#000000',
  },
}
SCSS
$custom: #6366e7;
$custom-light: #9a91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e7",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 238.636,
    "s": 73.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.578,
    "c": 0.191,
    "h": 277.6
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#6366E7
secondary
#EAE9BC
accent
#D110D5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366E7

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

Preview Lab → · Contrast checker → · Palette generator →

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