#396CD4#396CD4

#396CD4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.170 H 262.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#396CD4
RGBrgb(57, 108, 212)
HSLhsl(220, 64%, 53%)
HSVhsv(220, 73%, 83%)
CMYKcmyk(73.1%, 49.1%, 0%, 16.9%)
CIE-LABlab(47.43, 18.60, -58.56)
CIE-LCHlch(47.43, 61.44, 287.63°)
OKLaboklab(55.31% -0.0219 -0.1682)
OKLCHoklch(55.31% 0.17 262.6)
XYZxyz(18.9293, 16.3464, 64.4321)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396CD4 #D4A139
analogous
#39B9D4 #396CD4 #5339D4
triadic
#396CD4 #D4396C #6CD439
tetradic
#396CD4 #D439B9 #D4A139 #39D453
square
#396CD4 #D439B9 #D4A139 #39D453
split-complementary
#396CD4 #D45339 #B9D439
monochromatic
#1A3978 #2551AB #396CD4 #6B91DF #9EB7EA

Accessibility & contrast

On white

4.92
#396CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#396CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396CD4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396CD4#FFFFFF#000000##FFFFFF
##396CD41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3078D8
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #396cd4;
/* rgb */ color: rgb(57, 108, 212);
/* oklch */ color: oklch(55.3% 0.170 262.6);
Tailwind
colors: {
  custom: {
    50: '#8395e2',
    500: '#396cd4',
    950: '#000000',
  },
}
SCSS
$custom: #396cd4;
$custom-light: #8395e2;
$custom-dark: #000000;
JSON
{
  "hex": "#396cd4",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 220.258,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.16963,
    "h": 262.6
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#396CD4
secondary
#D6C093
accent
#B040E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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