#396BB1#396BB1

#396BB1 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.8% C 0.123 H 257.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#396BB1
RGBrgb(57, 107, 177)
HSLhsl(215, 51%, 46%)
HSVhsv(215, 68%, 69%)
CMYKcmyk(67.8%, 39.5%, 0%, 30.6%)
CIE-LABlab(45.02, 6.44, -42.22)
CIE-LCHlch(45.02, 42.70, 278.67°)
OKLaboklab(52.77% -0.0273 -0.1202)
OKLCHoklch(52.77% 0.123 257.2)
XYZxyz(14.8780, 14.5581, 43.6124)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BB1 #B17F39
analogous
#39A7B1 #396BB1 #4339B1
triadic
#396BB1 #B1396B #6BB139
tetradic
#396BB1 #B139A7 #B17F39 #39B143
square
#396BB1 #B139A7 #B17F39 #39B143
split-complementary
#396BB1 #B14339 #A7B139
monochromatic
#1B3354 #2A4F83 #396BB1 #5D8ACB #8BACDA

Accessibility & contrast

On white

5.37
#396BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#396BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BB1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BB1#FFFFFF#000000##FFFFFF
##396BB11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #396bb1;
/* rgb */ color: rgb(57, 107, 177);
/* oklch */ color: oklch(52.8% 0.123 257.2);
Tailwind
colors: {
  custom: {
    50: '#7c94c9',
    500: '#396bb1',
    950: '#000000',
  },
}
SCSS
$custom: #396bb1;
$custom-light: #7c94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#396bb1",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 215,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.12328,
    "h": 257.2
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#396BB1
secondary
#C4A882
accent
#A04DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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