#6366EF#6366EF

#6366EF is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.4% C 0.201 H 277.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6366EF
RGBrgb(99, 102, 239)
HSLhsl(239, 81%, 66%)
HSVhsv(239, 59%, 94%)
CMYKcmyk(58.6%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.96, 38.05, -69.60)
CIE-LCHlch(49.96, 79.32, 298.67°)
OKLaboklab(58.39% 0.0253 -0.1999)
OKLCHoklch(58.39% 0.201 277.2)
XYZxyz(25.4719, 18.3855, 83.8511)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366EF #EFEC63
analogous
#63ACEF #6366EF #A663EF
triadic
#6366EF #EF6366 #66EF63
tetradic
#6366EF #EF63AC #EFEC63 #63EFA6
square
#6366EF #EF63AC #EFEC63 #63EFA6
split-complementary
#6366EF #EFA663 #ACEF63
monochromatic
#1418C4 #2B30E9 #6366EF #9B9CF5 #D2D3FA

Accessibility & contrast

On white

4.49
#6366EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6366EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366EF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366EF#FFFFFF#000000##000000
##6366EF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6366ef;
/* rgb */ color: rgb(99, 102, 239);
/* oklch */ color: oklch(58.4% 0.201 277.2);
Tailwind
colors: {
  custom: {
    50: '#9c91f5',
    500: '#6366ef',
    950: '#000000',
  },
}
SCSS
$custom: #6366ef;
$custom-light: #9c91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6366ef",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 238.714,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.20146,
    "h": 277.2
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#6366EF
secondary
#EEEDC0
accent
#D908DE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366EF

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

Preview Lab → · Contrast checker → · Palette generator →

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