#396BCA#396BCA

#396BCA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.157 H 261.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#396BCA
RGBrgb(57, 107, 202)
HSLhsl(219, 58%, 51%)
HSVhsv(219, 72%, 79%)
CMYKcmyk(71.8%, 47%, 0%, 20.8%)
CIE-LABlab(46.51, 15.57, -54.31)
CIE-LCHlch(46.51, 56.50, 285.99°)
OKLaboklab(54.4% -0.0225 -0.1557)
OKLCHoklch(54.4% 0.157 261.8)
XYZxyz(17.6019, 15.6476, 57.9583)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BCA #CA9839
analogous
#39B4CA #396BCA #4F39CA
triadic
#396BCA #CA396B #6BCA39
tetradic
#396BCA #CA39B4 #CA9839 #39CA4F
square
#396BCA #CA39B4 #CA9839 #39CA4F
split-complementary
#396BCA #CA4F39 #B4CA39
monochromatic
#1D386C #2A519C #396BCA #698FD7 #9AB3E4

Accessibility & contrast

On white

5.08
#396BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#396BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BCA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BCA#FFFFFF#000000##FFFFFF
##396BCA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #396bca;
/* rgb */ color: rgb(57, 107, 202);
/* oklch */ color: oklch(54.4% 0.157 261.8);
Tailwind
colors: {
  custom: {
    50: '#8194db',
    500: '#396bca',
    950: '#000000',
  },
}
SCSS
$custom: #396bca;
$custom-light: #8194db;
$custom-dark: #000000;
JSON
{
  "hex": "#396bca",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 219.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.544,
    "c": 0.15737,
    "h": 261.8
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#396BCA
secondary
#D0B98F
accent
#AC47E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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