#396CB7#396CB7

#396CB7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.130 H 258.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#396CB7
RGBrgb(57, 108, 183)
HSLhsl(216, 53%, 47%)
HSVhsv(216, 69%, 72%)
CMYKcmyk(68.9%, 41%, 0%, 28.2%)
CIE-LABlab(45.65, 7.99, -44.71)
CIE-LCHlch(45.65, 45.42, 280.13°)
OKLaboklab(53.37% -0.027 -0.1275)
OKLCHoklch(53.37% 0.13 258.1)
XYZxyz(15.5941, 15.0123, 46.8664)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396CB7 #B78439
analogous
#39ABB7 #396CB7 #4539B7
triadic
#396CB7 #B7396C #6CB739
tetradic
#396CB7 #B739AB #B78439 #39B745
square
#396CB7 #B739AB #B78439 #39B745
split-complementary
#396CB7 #B74539 #ABB739
monochromatic
#1C355A #2A5088 #396CB7 #608CCD #8EAEDC

Accessibility & contrast

On white

5.25
#396CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#396CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396CB7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396CB7#FFFFFF#000000##FFFFFF
##396CB71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#3567B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #396cb7;
/* rgb */ color: rgb(57, 108, 183);
/* oklch */ color: oklch(53.4% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e95cd',
    500: '#396cb7',
    950: '#000000',
  },
}
SCSS
$custom: #396cb7;
$custom-light: #7e95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#396cb7",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 215.714,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.13033,
    "h": 258.1
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#396CB7
secondary
#C7AC85
accent
#A24CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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