#6366E4#6366E4

#6366E4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.187 H 277.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6366E4
RGBrgb(99, 102, 228)
HSLhsl(239, 70%, 64%)
HSVhsv(239, 57%, 89%)
CMYKcmyk(56.6%, 55.3%, 0%, 10.6%)
CIE-LABlab(49.20, 34.55, -64.65)
CIE-LCHlch(49.20, 73.30, 298.12°)
OKLaboklab(57.58% 0.0252 -0.1853)
OKLCHoklch(57.58% 0.187 277.7)
XYZxyz(23.8961, 17.7552, 75.5516)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366E4 #E4E163
analogous
#63A7E4 #6366E4 #A163E4
triadic
#6366E4 #E46366 #66E463
tetradic
#6366E4 #E463A7 #E4E163 #63E4A1
square
#6366E4 #E463A7 #E4E163 #63E4A1
split-complementary
#6366E4 #E4A163 #A7E463
monochromatic
#1E22AE #2F33DB #6366E4 #9799ED #CBCCF6

Accessibility & contrast

On white

4.61
#6366E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6366E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6366E4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366E4#FFFFFF#000000##FFFFFF
##6366E41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#15839B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6366e4;
/* rgb */ color: rgb(99, 102, 228);
/* oklch */ color: oklch(57.6% 0.187 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a91ed',
    500: '#6366e4',
    950: '#000000',
  },
}
SCSS
$custom: #6366e4;
$custom-light: #9a91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6366e4",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 238.605,
    "s": 70.492,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.18702,
    "h": 277.7
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#6366E4
secondary
#E8E7BB
accent
#CE13D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6366E4

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

Preview Lab → · Contrast checker → · Palette generator →

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