#396EC3#396EC3

#396EC3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.144 H 259.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#396EC3
RGBrgb(57, 110, 195)
HSLhsl(217, 55%, 49%)
HSVhsv(217, 71%, 76%)
CMYKcmyk(70.8%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.92, 11.10, -49.63)
CIE-LCHlch(46.92, 50.85, 282.61°)
OKLaboklab(54.58% -0.0264 -0.1419)
OKLCHoklch(54.58% 0.144 259.5)
XYZxyz(17.1100, 15.9600, 53.7980)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396EC3 #C38E39
analogous
#39B3C3 #396EC3 #4939C3
triadic
#396EC3 #C3396E #6EC339
tetradic
#396EC3 #C339B3 #C38E39 #39C349
square
#396EC3 #C339B3 #C38E39 #39C349
split-complementary
#396EC3 #C34939 #B3C339
monochromatic
#1D3964 #2B5394 #396EC3 #6790D2 #96B3E0

Accessibility & contrast

On white

5.01
#396EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#396EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396EC3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396EC3#FFFFFF#000000##FFFFFF
##396EC31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C6
Deuteranopia (green-blind)
#2C69C1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #396ec3;
/* rgb */ color: rgb(57, 110, 195);
/* oklch */ color: oklch(54.6% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#8097d6',
    500: '#396ec3',
    950: '#000000',
  },
}
SCSS
$custom: #396ec3;
$custom-light: #8097d6;
$custom-dark: #000000;
JSON
{
  "hex": "#396ec3",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 216.957,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.14434,
    "h": 259.5
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #396EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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