#6366E3#6366E3

#6366E3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.5% C 0.186 H 277.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6366E3
RGBrgb(99, 102, 227)
HSLhsl(239, 70%, 64%)
HSVhsv(239, 56%, 89%)
CMYKcmyk(56.4%, 55.1%, 0%, 11%)
CIE-LABlab(49.13, 34.23, -64.20)
CIE-LCHlch(49.13, 72.75, 298.07°)
OKLaboklab(57.51% 0.0252 -0.184)
OKLCHoklch(57.51% 0.186 277.8)
XYZxyz(23.7577, 17.6998, 74.8226)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E3 #E3E063
analogous
#63A6E3 #6366E3 #A063E3
triadic
#6366E3 #E36366 #66E363
tetradic
#6366E3 #E363A6 #E3E063 #63E3A0
square
#6366E3 #E363A6 #E3E063 #63E3A0
split-complementary
#6366E3 #E3A063 #A6E363
monochromatic
#1F22AD #2F33DA #6366E3 #9799EC #CBCCF6

Accessibility & contrast

On white

4.63
#6366E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6366E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6366E3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E3#FFFFFF#000000##FFFFFF
##6366E31.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)
#057AE7
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#18839B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6366e3;
/* rgb */ color: rgb(99, 102, 227);
/* oklch */ color: oklch(57.5% 0.186 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a91ed',
    500: '#6366e3',
    950: '#000000',
  },
}
SCSS
$custom: #6366e3;
$custom-light: #9a91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e3",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 238.594,
    "s": 69.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.1857,
    "h": 277.8
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#6366E3
secondary
#E7E6BA
accent
#CD14D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6366E3

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

Preview Lab → · Contrast checker → · Palette generator →

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