#6366EA#6366EA

#6366EA is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.0% C 0.195 H 277.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6366EA
RGBrgb(99, 102, 234)
HSLhsl(239, 76%, 65%)
HSVhsv(239, 58%, 92%)
CMYKcmyk(57.7%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.61, 36.46, -67.36)
CIE-LCHlch(49.61, 76.59, 298.42°)
OKLaboklab(58.02% 0.0253 -0.1933)
OKLCHoklch(58.02% 0.195 277.5)
XYZxyz(24.7435, 18.0941, 80.0146)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366EA #EAE763
analogous
#63A9EA #6366EA #A463EA
triadic
#6366EA #EA6366 #66EA63
tetradic
#6366EA #EA63A9 #EAE763 #63EAA4
square
#6366EA #EA63A9 #EAE763 #63EAA4
split-complementary
#6366EA #EAA463 #A9EA63
monochromatic
#191DBA #2D31E3 #6366EA #999BF1 #CFD0F9

Accessibility & contrast

On white

4.55
#6366EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6366EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366EA#FFFFFF#000000##000000
##6366EA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6366ea;
/* rgb */ color: rgb(99, 102, 234);
/* oklch */ color: oklch(58.0% 0.195 277.5);
Tailwind
colors: {
  custom: {
    50: '#9b91f2',
    500: '#6366ea',
    950: '#000000',
  },
}
SCSS
$custom: #6366ea;
$custom-light: #9b91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6366ea",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 238.667,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.19494,
    "h": 277.5
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#6366EA
secondary
#EBEABE
accent
#D40DD8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366EA

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

Preview Lab → · Contrast checker → · Palette generator →

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