#396AC7#396AC7

#396AC7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.0% C 0.154 H 261.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#396AC7
RGBrgb(57, 106, 199)
HSLhsl(219, 56%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(71.4%, 46.7%, 0%, 22%)
CIE-LABlab(46.04, 15.10, -53.34)
CIE-LCHlch(46.04, 55.44, 285.80°)
OKLaboklab(53.98% -0.0221 -0.1529)
OKLCHoklch(53.98% 0.154 261.8)
XYZxyz(17.1465, 15.2996, 56.0712)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396AC7 #C79639
analogous
#39B1C7 #396AC7 #4F39C7
triadic
#396AC7 #C7396A #6AC739
tetradic
#396AC7 #C739B1 #C79639 #39C74F
square
#396AC7 #C739B1 #C79639 #39C74F
split-complementary
#396AC7 #C74F39 #B1C739
monochromatic
#1D3768 #2B5198 #396AC7 #698ED4 #98B2E2

Accessibility & contrast

On white

5.17
#396AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#396AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396AC7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396AC7#FFFFFF#000000##FFFFFF
##396AC71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#1867C5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #396ac7;
/* rgb */ color: rgb(57, 106, 199);
/* oklch */ color: oklch(54.0% 0.154 261.8);
Tailwind
colors: {
  custom: {
    50: '#8194d8',
    500: '#396ac7',
    950: '#000000',
  },
}
SCSS
$custom: #396ac7;
$custom-light: #8194d8;
$custom-dark: #000000;
JSON
{
  "hex": "#396ac7",
  "rgb": {
    "r": 57,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 219.296,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.15449,
    "h": 261.8
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#396AC7
secondary
#CEB88E
accent
#AB49DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#396AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva