#6366CC#6366CC

#6366CC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.154 H 278.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6366CC
RGBrgb(99, 102, 204)
HSLhsl(238, 51%, 59%)
HSVhsv(238, 51%, 80%)
CMYKcmyk(51.5%, 50%, 0%, 20%)
CIE-LABlab(47.64, 26.96, -53.52)
CIE-LCHlch(47.64, 59.92, 296.73°)
OKLaboklab(55.92% 0.0239 -0.1526)
OKLCHoklch(55.92% 0.154 278.9)
XYZxyz(20.7927, 16.5138, 59.2069)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366CC #CCC963
analogous
#639BCC #6366CC #9563CC
triadic
#6366CC #CC6366 #66CC63
tetradic
#6366CC #CC639B #CCC963 #63CC95
square
#6366CC #CC639B #CCC963 #63CC95
split-complementary
#6366CC #CC9563 #9BCC63
monochromatic
#2C2F88 #3C3FB6 #6366CC #9193DB #BFC0EA

Accessibility & contrast

On white

4.88
#6366CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6366CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6366CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366CC#FFFFFF#000000##FFFFFF
##6366CC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#377C8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6366cc;
/* rgb */ color: rgb(99, 102, 204);
/* oklch */ color: oklch(55.9% 0.154 278.9);
Tailwind
colors: {
  custom: {
    50: '#9691dc',
    500: '#6366cc',
    950: '#000000',
  },
}
SCSS
$custom: #6366cc;
$custom-light: #9691dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6366cc",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 238.286,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.15442,
    "h": 278.9
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#6366CC
secondary
#DAD9B1
accent
#D64EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6366CC

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

Preview Lab → · Contrast checker → · Palette generator →

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