#396BC1#396BC1

#396BC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.145 H 260.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#396BC1
RGBrgb(57, 107, 193)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(70.5%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.95, 12.26, -50.02)
CIE-LCHlch(45.95, 51.51, 283.77°)
OKLaboklab(53.79% -0.024 -0.1431)
OKLCHoklch(53.79% 0.145 260.5)
XYZxyz(16.5672, 15.2338, 52.5090)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BC1 #C18F39
analogous
#39AFC1 #396BC1 #4B39C1
triadic
#396BC1 #C1396B #6BC139
tetradic
#396BC1 #C139AF #C18F39 #39C14B
square
#396BC1 #C139AF #C18F39 #39C14B
split-complementary
#396BC1 #C14B39 #AFC139
monochromatic
#1D3763 #2B5192 #396BC1 #668DD2 #95B0E0

Accessibility & contrast

On white

5.19
#396BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#396BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BC1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BC1#FFFFFF#000000##FFFFFF
##396BC11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C4
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #396bc1;
/* rgb */ color: rgb(57, 107, 193);
/* oklch */ color: oklch(53.8% 0.145 260.5);
Tailwind
colors: {
  custom: {
    50: '#7f94d4',
    500: '#396bc1',
    950: '#000000',
  },
}
SCSS
$custom: #396bc1;
$custom-light: #7f94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#396bc1",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 217.941,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.14513,
    "h": 260.5
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#396BC1
secondary
#CBB38B
accent
#A74ADE
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #396BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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