#6366D4#6366D4

#6366D4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.5% C 0.165 H 278.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6366D4
RGBrgb(99, 102, 212)
HSLhsl(238, 57%, 61%)
HSVhsv(238, 53%, 83%)
CMYKcmyk(53.3%, 51.9%, 0%, 16.9%)
CIE-LABlab(48.14, 29.47, -57.28)
CIE-LCHlch(48.14, 64.42, 297.23°)
OKLaboklab(56.46% 0.0245 -0.1636)
OKLCHoklch(56.46% 0.165 278.5)
XYZxyz(21.7769, 16.9075, 64.3905)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366D4 #D4D163
analogous
#639ED4 #6366D4 #9863D4
triadic
#6366D4 #D46366 #66D463
tetradic
#6366D4 #D4639E #D4D163 #63D498
square
#6366D4 #D4639E #D4D163 #63D498
split-complementary
#6366D4 #D49863 #9ED463
monochromatic
#292C94 #363AC4 #6366D4 #9395E1 #C3C4EE

Accessibility & contrast

On white

4.79
#6366D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6366D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6366D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366D4#FFFFFF#000000##FFFFFF
##6366D41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D8
Deuteranopia (green-blind)
#1A6ED2
Tritanopia (blue-blind)
#2F7F93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6366d4;
/* rgb */ color: rgb(99, 102, 212);
/* oklch */ color: oklch(56.5% 0.165 278.5);
Tailwind
colors: {
  custom: {
    50: '#9891e2',
    500: '#6366d4',
    950: '#000000',
  },
}
SCSS
$custom: #6366d4;
$custom-light: #9891e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6366d4",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 238.407,
    "s": 56.784,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.16546,
    "h": 278.5
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#6366D4
secondary
#DFDEB4
accent
#C021C4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6366D4

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

Preview Lab → · Contrast checker → · Palette generator →

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