#6366E1#6366E1

#6366E1 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.183 H 277.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6366E1
RGBrgb(99, 102, 225)
HSLhsl(239, 68%, 64%)
HSVhsv(239, 56%, 88%)
CMYKcmyk(56%, 54.7%, 0%, 11.8%)
CIE-LABlab(48.99, 33.59, -63.29)
CIE-LCHlch(48.99, 71.65, 297.96°)
OKLaboklab(57.37% 0.0251 -0.1813)
OKLCHoklch(57.37% 0.183 277.9)
XYZxyz(23.4832, 17.5900, 73.3773)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E1 #E1DE63
analogous
#63A5E1 #6366E1 #9F63E1
triadic
#6366E1 #E16366 #66E163
tetradic
#6366E1 #E163A5 #E1DE63 #63E19F
square
#6366E1 #E163A5 #E1DE63 #63E19F
split-complementary
#6366E1 #E19F63 #A5E163
monochromatic
#2124A9 #3034D7 #6366E1 #9698EB #CACBF5

Accessibility & contrast

On white

4.65
#6366E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6366E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6366E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E1#FFFFFF#000000##FFFFFF
##6366E11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F7AE5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#1C829A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6366e1;
/* rgb */ color: rgb(99, 102, 225);
/* oklch */ color: oklch(57.4% 0.183 277.9);
Tailwind
colors: {
  custom: {
    50: '#9991eb',
    500: '#6366e1',
    950: '#000000',
  },
}
SCSS
$custom: #6366e1;
$custom-light: #9991eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e1",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 238.571,
    "s": 67.742,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.18304,
    "h": 277.9
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#6366E1
secondary
#E6E5BA
accent
#CB16D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6366E1

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

Preview Lab → · Contrast checker → · Palette generator →

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