#396DC5#396DC5

#396DC5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.148 H 260.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#396DC5
RGBrgb(57, 109, 197)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 77%)
CMYKcmyk(71.1%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.76, 12.47, -51.04)
CIE-LCHlch(46.76, 52.54, 283.73°)
OKLaboklab(54.49% -0.0251 -0.1461)
OKLCHoklch(54.49% 0.148 260.2)
XYZxyz(17.2304, 15.8365, 54.9612)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396DC5 #C59139
analogous
#39B3C5 #396DC5 #4B39C5
triadic
#396DC5 #C5396D #6DC539
tetradic
#396DC5 #C539B3 #C59139 #39C54B
square
#396DC5 #C539B3 #C59139 #39C54B
split-complementary
#396DC5 #C54B39 #B3C539
monochromatic
#1E3866 #2B5396 #396DC5 #6890D3 #97B3E1

Accessibility & contrast

On white

5.04
#396DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#396DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396DC5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396DC5#FFFFFF#000000##FFFFFF
##396DC51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2669C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #396dc5;
/* rgb */ color: rgb(57, 109, 197);
/* oklch */ color: oklch(54.5% 0.148 260.2);
Tailwind
colors: {
  custom: {
    50: '#8096d7',
    500: '#396dc5',
    950: '#000000',
  },
}
SCSS
$custom: #396dc5;
$custom-light: #8096d7;
$custom-dark: #000000;
JSON
{
  "hex": "#396dc5",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 217.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.14822,
    "h": 260.2
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#396DC5
secondary
#CDB58D
accent
#A749DE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #396DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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