#6366EC#6366EC

#6366EC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.2% C 0.198 H 277.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6366EC
RGBrgb(99, 102, 236)
HSLhsl(239, 78%, 66%)
HSVhsv(239, 58%, 93%)
CMYKcmyk(58.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(49.75, 37.09, -68.26)
CIE-LCHlch(49.75, 77.69, 298.52°)
OKLaboklab(58.17% 0.0253 -0.1959)
OKLCHoklch(58.17% 0.198 277.4)
XYZxyz(25.0324, 18.2097, 81.5363)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366EC #ECE963
analogous
#63AAEC #6366EC #A463EC
triadic
#6366EC #EC6366 #66EC63
tetradic
#6366EC #EC63AA #ECE963 #63ECA4
square
#6366EC #EC63AA #ECE963 #63ECA4
split-complementary
#6366EC #ECA463 #AAEC63
monochromatic
#171BBE #2C30E5 #6366EC #9A9CF3 #D0D1F9

Accessibility & contrast

On white

4.52
#6366EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6366EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366EC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366EC#FFFFFF#000000##000000
##6366EC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6366ec;
/* rgb */ color: rgb(99, 102, 236);
/* oklch */ color: oklch(58.2% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b91f3',
    500: '#6366ec',
    950: '#000000',
  },
}
SCSS
$custom: #6366ec;
$custom-light: #9b91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6366ec",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 238.686,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.19756,
    "h": 277.4
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#6366EC
secondary
#ECEBBF
accent
#D60BDB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366EC

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

Preview Lab → · Contrast checker → · Palette generator →

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