#396DCA#396DCA

#396DCA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.8% C 0.155 H 261.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#396DCA
RGBrgb(57, 109, 202)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 72%, 79%)
CMYKcmyk(71.8%, 46%, 0%, 20.8%)
CIE-LABlab(47.07, 14.30, -53.42)
CIE-LCHlch(47.07, 55.30, 284.99°)
OKLaboklab(54.83% -0.0243 -0.1531)
OKLCHoklch(54.83% 0.155 261)
XYZxyz(17.8128, 16.0695, 58.0286)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396DCA #CA9639
analogous
#39B5CA #396DCA #4D39CA
triadic
#396DCA #CA396D #6DCA39
tetradic
#396DCA #CA39B5 #CA9639 #39CA4D
square
#396DCA #CA39B5 #CA9639 #39CA4D
split-complementary
#396DCA #CA4D39 #B5CA39
monochromatic
#1D396C #2A539C #396DCA #6991D7 #9AB4E4

Accessibility & contrast

On white

4.98
#396DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#396DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396DCA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396DCA#FFFFFF#000000##FFFFFF
##396DCA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CD
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #396dca;
/* rgb */ color: rgb(57, 109, 202);
/* oklch */ color: oklch(54.8% 0.155 261.0);
Tailwind
colors: {
  custom: {
    50: '#8196db',
    500: '#396dca',
    950: '#000000',
  },
}
SCSS
$custom: #396dca;
$custom-light: #8196db;
$custom-dark: #000000;
JSON
{
  "hex": "#396dca",
  "rgb": {
    "r": 57,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 218.483,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.15499,
    "h": 261
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #396DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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