#396BC7#396BC7

#396BC7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.153 H 261.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#396BC7
RGBrgb(57, 107, 199)
HSLhsl(219, 56%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(71.4%, 46.2%, 0%, 22%)
CIE-LABlab(46.32, 14.46, -52.89)
CIE-LCHlch(46.32, 54.83, 285.29°)
OKLaboklab(54.2% -0.023 -0.1516)
OKLCHoklch(54.2% 0.153 261.4)
XYZxyz(17.2502, 15.5069, 56.1058)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BC7 #C79539
analogous
#39B2C7 #396BC7 #4E39C7
triadic
#396BC7 #C7396B #6BC739
tetradic
#396BC7 #C739B2 #C79539 #39C74E
square
#396BC7 #C739B2 #C79539 #39C74E
split-complementary
#396BC7 #C74E39 #B2C739
monochromatic
#1D3868 #2B5198 #396BC7 #698FD4 #98B2E2

Accessibility & contrast

On white

5.12
#396BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#396BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BC7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BC7#FFFFFF#000000##FFFFFF
##396BC71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CA
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #396bc7;
/* rgb */ color: rgb(57, 107, 199);
/* oklch */ color: oklch(54.2% 0.153 261.4);
Tailwind
colors: {
  custom: {
    50: '#8194d8',
    500: '#396bc7',
    950: '#000000',
  },
}
SCSS
$custom: #396bc7;
$custom-light: #8194d8;
$custom-dark: #000000;
JSON
{
  "hex": "#396bc7",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 218.873,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.1533,
    "h": 261.4
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#396BC7
secondary
#CEB78E
accent
#AA49DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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