#6366F4#6366F4

#6366F4 is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.8% C 0.208 H 277.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6366F4
RGBrgb(99, 102, 244)
HSLhsl(239, 87%, 67%)
HSVhsv(239, 59%, 96%)
CMYKcmyk(59.4%, 58.2%, 0%, 4.3%)
CIE-LABlab(50.32, 39.64, -71.81)
CIE-LCHlch(50.32, 82.03, 298.90°)
OKLaboklab(58.77% 0.0253 -0.2064)
OKLCHoklch(58.77% 0.208 277)
XYZxyz(26.2208, 18.6851, 87.7952)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366F4 #F4F163
analogous
#63AEF4 #6366F4 #A963F4
triadic
#6366F4 #F46366 #66F463
tetradic
#6366F4 #F463AE #F4F163 #63F4A9
square
#6366F4 #F463AE #F4F163 #63F4A9
split-complementary
#6366F4 #F4A963 #AEF463
monochromatic
#0F12CE #2A2EF0 #6366F4 #9C9EF8 #D5D6FC

Accessibility & contrast

On white

4.43
#6366F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6366F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366F4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366F4#FFFFFF#000000##000000
##6366F41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#0088A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6366f4;
/* rgb */ color: rgb(99, 102, 244);
/* oklch */ color: oklch(58.8% 0.208 277.0);
Tailwind
colors: {
  custom: {
    50: '#9c92f9',
    500: '#6366f4',
    950: '#000000',
  },
}
SCSS
$custom: #6366f4;
$custom-light: #9c92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6366f4",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 238.759,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.20793,
    "h": 277
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#6366F4
secondary
#F0EFC3
accent
#DF02E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366F4

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

Preview Lab → · Contrast checker → · Palette generator →

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