#396AB5#396AB5

#396AB5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.8% C 0.130 H 258.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#396AB5
RGBrgb(57, 106, 181)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 69%, 71%)
CMYKcmyk(68.5%, 41.4%, 0%, 29%)
CIE-LABlab(44.96, 8.52, -44.65)
CIE-LCHlch(44.96, 45.46, 280.80°)
OKLaboklab(52.8% -0.0254 -0.1274)
OKLCHoklch(52.8% 0.13 258.7)
XYZxyz(15.1789, 14.5126, 45.7084)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396AB5 #B58439
analogous
#39A8B5 #396AB5 #4639B5
triadic
#396AB5 #B5396A #6AB539
tetradic
#396AB5 #B539A8 #B58439 #39B546
square
#396AB5 #B539A8 #B58439 #39B546
split-complementary
#396AB5 #B54639 #A8B539
monochromatic
#1C3358 #2A4F86 #396AB5 #5F8ACD #8DACDB

Accessibility & contrast

On white

5.38
#396AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#396AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396AB5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396AB5#FFFFFF#000000##FFFFFF
##396AB51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #396ab5;
/* rgb */ color: rgb(57, 106, 181);
/* oklch */ color: oklch(52.8% 0.130 258.7);
Tailwind
colors: {
  custom: {
    50: '#7d94cb',
    500: '#396ab5',
    950: '#000000',
  },
}
SCSS
$custom: #396ab5;
$custom-light: #7d94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#396ab5",
  "rgb": {
    "r": 57,
    "g": 106,
    "b": 181
  },
  "hsl": {
    "h": 216.29,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.12987,
    "h": 258.7
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#396AB5
secondary
#C6AC84
accent
#A34CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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