#396AB1#396AB1

#396AB1 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.5% C 0.124 H 257.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#396AB1
RGBrgb(57, 106, 177)
HSLhsl(216, 51%, 46%)
HSVhsv(216, 68%, 69%)
CMYKcmyk(67.8%, 40.1%, 0%, 30.6%)
CIE-LABlab(44.73, 7.06, -42.68)
CIE-LCHlch(44.73, 43.26, 279.40°)
OKLaboklab(52.55% -0.0263 -0.1216)
OKLCHoklch(52.55% 0.124 257.8)
XYZxyz(14.7743, 14.3508, 43.5778)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396AB1 #B18039
analogous
#39A6B1 #396AB1 #4439B1
triadic
#396AB1 #B1396A #6AB139
tetradic
#396AB1 #B139A6 #B18039 #39B144
square
#396AB1 #B139A6 #B18039 #39B144
split-complementary
#396AB1 #B14439 #A6B139
monochromatic
#1B3354 #2A4E83 #396AB1 #5D8ACB #8BABDA

Accessibility & contrast

On white

5.43
#396AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#396AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396AB1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396AB1#FFFFFF#000000##FFFFFF
##396AB11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#007A85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #396ab1;
/* rgb */ color: rgb(57, 106, 177);
/* oklch */ color: oklch(52.5% 0.124 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c94c9',
    500: '#396ab1',
    950: '#000000',
  },
}
SCSS
$custom: #396ab1;
$custom-light: #7c94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#396ab1",
  "rgb": {
    "r": 57,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 215.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.12439,
    "h": 257.8
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#396AB1
secondary
#C4A982
accent
#A14DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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