#396BB4#396BB4

#396BB4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.0% C 0.127 H 257.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#396BB4
RGBrgb(57, 107, 180)
HSLhsl(216, 52%, 46%)
HSVhsv(216, 68%, 71%)
CMYKcmyk(68.3%, 40.6%, 0%, 29.4%)
CIE-LABlab(45.19, 7.52, -43.70)
CIE-LCHlch(45.19, 44.34, 279.77°)
OKLaboklab(52.96% -0.0266 -0.1245)
OKLCHoklch(52.96% 0.127 257.9)
XYZxyz(15.1803, 14.6790, 45.2045)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BB4 #B48239
analogous
#39A9B4 #396BB4 #4539B4
triadic
#396BB4 #B4396B #6BB439
tetradic
#396BB4 #B439A9 #B48239 #39B445
square
#396BB4 #B439A9 #B48239 #39B445
split-complementary
#396BB4 #B44539 #A9B439
monochromatic
#1C3457 #2A4F86 #396BB4 #5E8BCC #8DACDB

Accessibility & contrast

On white

5.34
#396BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#396BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BB4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BB4#FFFFFF#000000##FFFFFF
##396BB41.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #396bb4;
/* rgb */ color: rgb(57, 107, 180);
/* oklch */ color: oklch(53.0% 0.127 257.9);
Tailwind
colors: {
  custom: {
    50: '#7d94cb',
    500: '#396bb4',
    950: '#000000',
  },
}
SCSS
$custom: #396bb4;
$custom-light: #7d94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#396bb4",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 215.61,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.12737,
    "h": 257.9
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#396BB4
secondary
#C5AB83
accent
#A14CDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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