#6366BA#6366BA

#6366BA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.8% C 0.129 H 279.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6366BA
RGBrgb(99, 102, 186)
HSLhsl(238, 39%, 56%)
HSVhsv(238, 47%, 73%)
CMYKcmyk(46.8%, 45.2%, 0%, 27.1%)
CIE-LABlab(46.58, 21.37, -44.83)
CIE-LCHlch(46.58, 49.67, 295.49°)
OKLaboklab(54.77% 0.0217 -0.1271)
OKLCHoklch(54.77% 0.129 279.7)
XYZxyz(18.7572, 15.6996, 48.4868)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366BA #BAB763
analogous
#6391BA #6366BA #8B63BA
triadic
#6366BA #BA6366 #66BA63
tetradic
#6366BA #BA6391 #BAB763 #63BA8B
square
#6366BA #BA6391 #BAB763 #63BA8B
split-complementary
#6366BA #BA8B63 #91BA63
monochromatic
#323471 #45489B #6366BA #8D90CD #B8B9E0

Accessibility & contrast

On white

5.07
#6366BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6366BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6366BA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366BA#FFFFFF#000000##FFFFFF
##6366BA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#457887
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6366ba;
/* rgb */ color: rgb(99, 102, 186);
/* oklch */ color: oklch(54.8% 0.129 279.7);
Tailwind
colors: {
  custom: {
    50: '#9491cf',
    500: '#6366ba',
    950: '#000000',
  },
}
SCSS
$custom: #6366ba;
$custom-light: #9491cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6366ba",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 237.931,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.12893,
    "h": 279.7
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#6366BA
secondary
#CECDAA
accent
#CB59CF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6366BA

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

Preview Lab → · Contrast checker → · Palette generator →

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