#6396EC#6396EC

#6396EC is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.139 H 260.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6396EC
RGBrgb(99, 150, 236)
HSLhsl(218, 78%, 66%)
HSVhsv(218, 58%, 93%)
CMYKcmyk(58.1%, 36.4%, 0%, 7.5%)
CIE-LABlab(62.10, 8.23, -48.48)
CIE-LCHlch(62.10, 49.17, 279.64°)
OKLaboklab(67.57% -0.0234 -0.1373)
OKLCHoklch(67.57% 0.139 260.3)
XYZxyz(31.1870, 30.5188, 83.5879)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6396EC #ECB963
analogous
#63DBEC #6396EC #7463EC
triadic
#6396EC #EC6396 #96EC63
tetradic
#6396EC #EC63DB #ECB963 #63EC74
square
#6396EC #EC63DB #ECB963 #63EC74
split-complementary
#6396EC #EC7463 #DBEC63
monochromatic
#1755BE #2C71E5 #6396EC #9ABBF3 #D0DFF9

Accessibility & contrast

On white

2.96
#6396EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#6396EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6396EC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6396EC#FFFFFF#000000##000000
##6396EC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6396ec;
/* rgb */ color: rgb(99, 150, 236);
/* oklch */ color: oklch(67.6% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#99b4f2',
    500: '#6396ec',
    950: '#000000',
  },
}
SCSS
$custom: #6396ec;
$custom-light: #99b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6396ec",
  "rgb": {
    "r": 99,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 217.664,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.13934,
    "h": 260.3
  },
  "luminance": 0.30521
}

Semantic roles & 50–950 ramp

primary
#6396EC
secondary
#ECDBBF
accent
#8D0BDB
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6396EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6396EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva