#6366F8#6366F8

#6366F8 is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.1% C 0.213 H 276.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6366F8
RGBrgb(99, 102, 248)
HSLhsl(239, 91%, 68%)
HSVhsv(239, 60%, 97%)
CMYKcmyk(60.1%, 58.9%, 0%, 2.7%)
CIE-LABlab(50.61, 40.92, -73.57)
CIE-LCHlch(50.61, 84.18, 299.08°)
OKLaboklab(59.07% 0.0252 -0.2116)
OKLCHoklch(59.07% 0.213 276.8)
XYZxyz(26.8348, 18.9306, 91.0286)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366F8 #F8F563
analogous
#63B0F8 #6366F8 #AA63F8
triadic
#6366F8 #F86366 #66F863
tetradic
#6366F8 #F863B0 #F8F563 #63F8AA
square
#6366F8 #F863B0 #F8F563 #63F8AA
split-complementary
#6366F8 #F8AA63 #B0F863
monochromatic
#0A0ED7 #282DF5 #6366F8 #9E9FFB #D8D9FD

Accessibility & contrast

On white

4.39
#6366F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6366F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366F8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366F8#FFFFFF#000000##000000
##6366F81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#008AA5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6366f8;
/* rgb */ color: rgb(99, 102, 248);
/* oklch */ color: oklch(59.1% 0.213 276.8);
Tailwind
colors: {
  custom: {
    50: '#9d92fc',
    500: '#6366f8',
    950: '#000000',
  },
}
SCSS
$custom: #6366f8;
$custom-light: #9d92fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6366f8",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 238.792,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.21305,
    "h": 276.8
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#6366F8
secondary
#F2F1C5
accent
#E100E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100D18
muted
#7F7D86

Preview Lab

Preview with #6366F8

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

Preview Lab → · Contrast checker → · Palette generator →

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