#396FCB#396FCB

#396FCB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.154 H 260.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#396FCB
RGBrgb(57, 111, 203)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(71.9%, 45.3%, 0%, 20.4%)
CIE-LABlab(47.69, 13.40, -53.00)
CIE-LCHlch(47.69, 54.66, 284.19°)
OKLaboklab(55.33% -0.0258 -0.1518)
OKLCHoklch(55.33% 0.154 260.3)
XYZxyz(18.1474, 16.5486, 58.7261)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396FCB #CB9539
analogous
#39B8CB #396FCB #4C39CB
triadic
#396FCB #CB396F #6FCB39
tetradic
#396FCB #CB39B8 #CB9539 #39CB4C
square
#396FCB #CB39B8 #CB9539 #39CB4C
split-complementary
#396FCB #CB4C39 #B8CB39
monochromatic
#1D3A6D #29549D #396FCB #6992D8 #9AB6E4

Accessibility & contrast

On white

4.87
#396FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#396FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396FCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396FCB#FFFFFF#000000##FFFFFF
##396FCB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #396fcb;
/* rgb */ color: rgb(57, 111, 203);
/* oklch */ color: oklch(55.3% 0.154 260.3);
Tailwind
colors: {
  custom: {
    50: '#8197db',
    500: '#396fcb',
    950: '#000000',
  },
}
SCSS
$custom: #396fcb;
$custom-light: #8197db;
$custom-dark: #000000;
JSON
{
  "hex": "#396fcb",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 217.808,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.15399,
    "h": 260.3
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#396FCB
secondary
#D0B890
accent
#A846E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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