#396ECC#396ECC

#396ECC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.157 H 260.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#396ECC
RGBrgb(57, 110, 204)
HSLhsl(218, 59%, 51%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(72.1%, 46.1%, 0%, 20%)
CIE-LABlab(47.47, 14.40, -53.92)
CIE-LCHlch(47.47, 55.81, 284.95°)
OKLaboklab(55.18% -0.0248 -0.1545)
OKLCHoklch(55.18% 0.157 260.9)
XYZxyz(18.1584, 16.3794, 59.3196)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396ECC #CC9739
analogous
#39B8CC #396ECC #4D39CC
triadic
#396ECC #CC396E #6ECC39
tetradic
#396ECC #CC39B8 #CC9739 #39CC4D
square
#396ECC #CC39B8 #CC9739 #39CC4D
split-complementary
#396ECC #CC4D39 #B8CC39
monochromatic
#1C3A6E #29539F #396ECC #6A92D9 #9AB5E5

Accessibility & contrast

On white

4.91
#396ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#396ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396ECC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396ECC#FFFFFF#000000##FFFFFF
##396ECC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #396ecc;
/* rgb */ color: rgb(57, 110, 204);
/* oklch */ color: oklch(55.2% 0.157 260.9);
Tailwind
colors: {
  custom: {
    50: '#8297dc',
    500: '#396ecc',
    950: '#000000',
  },
}
SCSS
$custom: #396ecc;
$custom-light: #8297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#396ecc",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 218.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.15651,
    "h": 260.9
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#396ECC
secondary
#D1B990
accent
#AA46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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