#396BD4#396BD4

#396BD4 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.1% C 0.171 H 262.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#396BD4
RGBrgb(57, 107, 212)
HSLhsl(221, 64%, 53%)
HSVhsv(221, 73%, 83%)
CMYKcmyk(73.1%, 49.5%, 0%, 16.9%)
CIE-LABlab(47.15, 19.24, -58.99)
CIE-LCHlch(47.15, 62.05, 288.06°)
OKLaboklab(55.1% -0.0211 -0.1695)
OKLCHoklch(55.1% 0.171 262.9)
XYZxyz(18.8245, 16.1367, 64.3972)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BD4 #D4A239
analogous
#39B8D4 #396BD4 #5439D4
triadic
#396BD4 #D4396B #6BD439
tetradic
#396BD4 #D439B8 #D4A239 #39D454
square
#396BD4 #D439B8 #D4A239 #39D454
split-complementary
#396BD4 #D45439 #B8D439
monochromatic
#1A3978 #2550AB #396BD4 #6B91DF #9EB6EA

Accessibility & contrast

On white

4.97
#396BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#396BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BD4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BD4#FFFFFF#000000##FFFFFF
##396BD41.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #396bd4;
/* rgb */ color: rgb(57, 107, 212);
/* oklch */ color: oklch(55.1% 0.171 262.9);
Tailwind
colors: {
  custom: {
    50: '#8394e2',
    500: '#396bd4',
    950: '#000000',
  },
}
SCSS
$custom: #396bd4;
$custom-light: #8394e2;
$custom-dark: #000000;
JSON
{
  "hex": "#396bd4",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 220.645,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.551,
    "c": 0.17083,
    "h": 262.9
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #396BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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