#396DC4#396DC4

#396DC4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.4% C 0.147 H 260.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#396DC4
RGBrgb(57, 109, 196)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 77%)
CMYKcmyk(70.9%, 44.4%, 0%, 23.1%)
CIE-LABlab(46.70, 12.10, -50.56)
CIE-LCHlch(46.70, 51.99, 283.46°)
OKLaboklab(54.43% -0.0253 -0.1447)
OKLCHoklch(54.43% 0.147 260.1)
XYZxyz(17.1162, 15.7908, 54.3597)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396DC4 #C49039
analogous
#39B3C4 #396DC4 #4B39C4
triadic
#396DC4 #C4396D #6DC439
tetradic
#396DC4 #C439B3 #C49039 #39C44B
square
#396DC4 #C439B3 #C49039 #39C44B
split-complementary
#396DC4 #C44B39 #B3C439
monochromatic
#1D3865 #2B5395 #396DC4 #6790D3 #97B2E1

Accessibility & contrast

On white

5.05
#396DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#396DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396DC4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396DC4#FFFFFF#000000##FFFFFF
##396DC41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #396dc4;
/* rgb */ color: rgb(57, 109, 196);
/* oklch */ color: oklch(54.4% 0.147 260.1);
Tailwind
colors: {
  custom: {
    50: '#8096d6',
    500: '#396dc4',
    950: '#000000',
  },
}
SCSS
$custom: #396dc4;
$custom-light: #8096d6;
$custom-dark: #000000;
JSON
{
  "hex": "#396dc4",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 217.554,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.14687,
    "h": 260.1
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#396DC4
secondary
#CCB48D
accent
#A74ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #396DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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