#6366F2#6366F2

#6366F2 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.6% C 0.205 H 277.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6366F2
RGBrgb(99, 102, 242)
HSLhsl(239, 85%, 67%)
HSVhsv(239, 59%, 95%)
CMYKcmyk(59.1%, 57.9%, 0%, 5.1%)
CIE-LABlab(50.17, 39.01, -70.93)
CIE-LCHlch(50.17, 80.95, 298.81°)
OKLaboklab(58.62% 0.0253 -0.2038)
OKLCHoklch(58.62% 0.205 277.1)
XYZxyz(25.9188, 18.5643, 86.2046)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6366F2 #F2EF63
analogous
#63AEF2 #6366F2 #A863F2
triadic
#6366F2 #F26366 #66F263
tetradic
#6366F2 #F263AE #F2EF63 #63F2A8
square
#6366F2 #F263AE #F2EF63 #63F2A8
split-complementary
#6366F2 #F2A863 #AEF263
monochromatic
#1115CA #2B2FED #6366F2 #9B9DF7 #D4D5FB

Accessibility & contrast

On white

4.46
#6366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6366F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6366F2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6366F2#FFFFFF#000000##000000
##6366F21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6366f2;
/* rgb */ color: rgb(99, 102, 242);
/* oklch */ color: oklch(58.6% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#9c92f7',
    500: '#6366f2',
    950: '#000000',
  },
}
SCSS
$custom: #6366f2;
$custom-light: #9c92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6366f2",
  "rgb": {
    "r": 99,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 238.741,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.20535,
    "h": 277.1
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#6366F2
secondary
#EFEEC2
accent
#DC04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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