#6366D1#6366D1

#6366D1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.3% C 0.161 H 278.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6366D1
RGBrgb(99, 102, 209)
HSLhsl(238, 54%, 60%)
HSVhsv(238, 53%, 82%)
CMYKcmyk(52.6%, 51.2%, 0%, 18%)
CIE-LABlab(47.95, 28.53, -55.88)
CIE-LCHlch(47.95, 62.74, 297.05°)
OKLaboklab(56.26% 0.0243 -0.1595)
OKLCHoklch(56.26% 0.161 278.7)
XYZxyz(21.4020, 16.7575, 62.4160)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366D1 #D1CE63
analogous
#639DD1 #6366D1 #9763D1
triadic
#6366D1 #D16366 #66D163
tetradic
#6366D1 #D1639D #D1CE63 #63D197
square
#6366D1 #D1639D #D1CE63 #63D197
split-complementary
#6366D1 #D19763 #9DD163
monochromatic
#2A2D8F #383CBF #6366D1 #9294DF #C2C3ED

Accessibility & contrast

On white

4.83
#6366D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6366D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6366D1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366D1#FFFFFF#000000##FFFFFF
##6366D11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D5
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#327E92
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6366d1;
/* rgb */ color: rgb(99, 102, 209);
/* oklch */ color: oklch(56.3% 0.161 278.7);
Tailwind
colors: {
  custom: {
    50: '#9791e0',
    500: '#6366d1',
    950: '#000000',
  },
}
SCSS
$custom: #6366d1;
$custom-light: #9791e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6366d1",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 209
  },
  "hsl": {
    "h": 238.364,
    "s": 54.455,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.16135,
    "h": 278.7
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#6366D1
secondary
#DDDCB3
accent
#BE24C2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6366D1

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

Preview Lab → · Contrast checker → · Palette generator →

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