#6366CF#6366CF

#6366CF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.159 H 278.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6366CF
RGBrgb(99, 102, 207)
HSLhsl(238, 53%, 60%)
HSVhsv(238, 52%, 81%)
CMYKcmyk(52.2%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.83, 27.90, -54.94)
CIE-LCHlch(47.83, 61.61, 296.92°)
OKLaboklab(56.12% 0.0241 -0.1567)
OKLCHoklch(56.12% 0.159 278.7)
XYZxyz(21.1559, 16.6591, 61.1201)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366CF #CFCC63
analogous
#639CCF #6366CF #9663CF
triadic
#6366CF #CF6366 #66CF63
tetradic
#6366CF #CF639C #CFCC63 #63CF96
square
#6366CF #CF639C #CFCC63 #63CF96
split-complementary
#6366CF #CF9663 #9CCF63
monochromatic
#2B2E8C #3A3DBB #6366CF #9294DD #C1C2EC

Accessibility & contrast

On white

4.85
#6366CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6366CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6366CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366CF#FFFFFF#000000##FFFFFF
##6366CF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#246DCD
Tritanopia (blue-blind)
#347D91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6366cf;
/* rgb */ color: rgb(99, 102, 207);
/* oklch */ color: oklch(56.1% 0.159 278.7);
Tailwind
colors: {
  custom: {
    50: '#9791de',
    500: '#6366cf',
    950: '#000000',
  },
}
SCSS
$custom: #6366cf;
$custom-light: #9791de;
$custom-dark: #000000;
JSON
{
  "hex": "#6366cf",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 238.333,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.15858,
    "h": 278.7
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#6366CF
secondary
#DCDBB2
accent
#D84BDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6366CF

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

Preview Lab → · Contrast checker → · Palette generator →

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