#396ED4#396ED4

#396ED4 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.7% C 0.167 H 261.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#396ED4
RGBrgb(57, 110, 212)
HSLhsl(219, 64%, 53%)
HSVhsv(219, 73%, 83%)
CMYKcmyk(73.1%, 48.1%, 0%, 16.9%)
CIE-LABlab(47.97, 17.34, -57.67)
CIE-LCHlch(47.97, 60.22, 286.73°)
OKLaboklab(55.73% -0.0236 -0.1656)
OKLCHoklch(55.73% 0.167 261.9)
XYZxyz(19.1427, 16.7731, 64.5033)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396ED4 #D49F39
analogous
#39BBD4 #396ED4 #5239D4
triadic
#396ED4 #D4396E #6ED439
tetradic
#396ED4 #D439BB #D49F39 #39D452
square
#396ED4 #D439BB #D49F39 #39D452
split-complementary
#396ED4 #D45239 #BBD439
monochromatic
#1A3A78 #2553AB #396ED4 #6B93DF #9EB8EA

Accessibility & contrast

On white

4.82
#396ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#396ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396ED4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396ED4#FFFFFF#000000##FFFFFF
##396ED41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #396ed4;
/* rgb */ color: rgb(57, 110, 212);
/* oklch */ color: oklch(55.7% 0.167 261.9);
Tailwind
colors: {
  custom: {
    50: '#8397e2',
    500: '#396ed4',
    950: '#000000',
  },
}
SCSS
$custom: #396ed4;
$custom-light: #8397e2;
$custom-dark: #000000;
JSON
{
  "hex": "#396ed4",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 219.484,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.16726,
    "h": 261.9
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#396ED4
secondary
#D6BF93
accent
#AE40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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