#396CC6#396CC6

#396CC6 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.151 H 260.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#396CC6
RGBrgb(57, 108, 198)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(71.2%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.54, 13.46, -51.97)
CIE-LCHlch(46.54, 53.68, 284.53°)
OKLaboklab(54.34% -0.024 -0.1488)
OKLCHoklch(54.34% 0.151 260.8)
XYZxyz(17.2393, 15.6704, 55.5313)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396CC6 #C69339
analogous
#39B2C6 #396CC6 #4D39C6
triadic
#396CC6 #C6396C #6CC639
tetradic
#396CC6 #C639B2 #C69339 #39C64D
square
#396CC6 #C639B2 #C69339 #39C64D
split-complementary
#396CC6 #C64D39 #B2C639
monochromatic
#1E3867 #2B5296 #396CC6 #698FD4 #98B3E1

Accessibility & contrast

On white

5.08
#396CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#396CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396CC6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396CC6#FFFFFF#000000##FFFFFF
##396CC61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C9
Deuteranopia (green-blind)
#2168C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #396cc6;
/* rgb */ color: rgb(57, 108, 198);
/* oklch */ color: oklch(54.3% 0.151 260.8);
Tailwind
colors: {
  custom: {
    50: '#8095d8',
    500: '#396cc6',
    950: '#000000',
  },
}
SCSS
$custom: #396cc6;
$custom-light: #8095d8;
$custom-dark: #000000;
JSON
{
  "hex": "#396cc6",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 218.298,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.15076,
    "h": 260.8
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#396CC6
secondary
#CDB68E
accent
#A949DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #396CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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