#396EC2#396EC2

#396EC2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.143 H 259.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#396EC2
RGBrgb(57, 110, 194)
HSLhsl(217, 55%, 49%)
HSVhsv(217, 71%, 76%)
CMYKcmyk(70.6%, 43.3%, 0%, 23.9%)
CIE-LABlab(46.86, 10.74, -49.14)
CIE-LCHlch(46.86, 50.30, 282.33°)
OKLaboklab(54.52% -0.0266 -0.1405)
OKLCHoklch(54.52% 0.143 259.3)
XYZxyz(16.9974, 15.9150, 53.2046)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396EC2 #C28D39
analogous
#39B3C2 #396EC2 #4839C2
triadic
#396EC2 #C2396E #6EC239
tetradic
#396EC2 #C239B3 #C28D39 #39C248
square
#396EC2 #C239B3 #C28D39 #39C248
split-complementary
#396EC2 #C24839 #B3C239
monochromatic
#1D3863 #2B5393 #396EC2 #6690D2 #95B2E0

Accessibility & contrast

On white

5.02
#396EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#396EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396EC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396EC2#FFFFFF#000000##FFFFFF
##396EC21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #396ec2;
/* rgb */ color: rgb(57, 110, 194);
/* oklch */ color: oklch(54.5% 0.143 259.3);
Tailwind
colors: {
  custom: {
    50: '#8097d5',
    500: '#396ec2',
    950: '#000000',
  },
}
SCSS
$custom: #396ec2;
$custom-light: #8097d5;
$custom-dark: #000000;
JSON
{
  "hex": "#396ec2",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 216.788,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.143,
    "h": 259.3
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#396EC2
secondary
#CBB38B
accent
#A54ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #396EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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