#396EC8#396EC8

#396EC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.9% C 0.151 H 260.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#396EC8
RGBrgb(57, 110, 200)
HSLhsl(218, 57%, 50%)
HSVhsv(218, 72%, 78%)
CMYKcmyk(71.5%, 45%, 0%, 21.6%)
CIE-LABlab(47.22, 12.93, -52.02)
CIE-LCHlch(47.22, 53.60, 283.96°)
OKLaboklab(54.91% -0.0255 -0.1489)
OKLCHoklch(54.91% 0.151 260.3)
XYZxyz(17.6848, 16.1900, 56.8253)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396EC8 #C89339
analogous
#39B6C8 #396EC8 #4B39C8
triadic
#396EC8 #C8396E #6EC839
tetradic
#396EC8 #C839B6 #C89339 #39C84B
square
#396EC8 #C839B6 #C89339 #39C84B
split-complementary
#396EC8 #C84B39 #B6C839
monochromatic
#1D3969 #2B5499 #396EC8 #6991D5 #99B4E3

Accessibility & contrast

On white

4.95
#396EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#396EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396EC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396EC8#FFFFFF#000000##FFFFFF
##396EC81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4077CB
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #396ec8;
/* rgb */ color: rgb(57, 110, 200);
/* oklch */ color: oklch(54.9% 0.151 260.3);
Tailwind
colors: {
  custom: {
    50: '#8197d9',
    500: '#396ec8',
    950: '#000000',
  },
}
SCSS
$custom: #396ec8;
$custom-light: #8197d9;
$custom-dark: #000000;
JSON
{
  "hex": "#396ec8",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 217.762,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.15112,
    "h": 260.3
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#396EC8
secondary
#CEB78F
accent
#A848E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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