#396BB2#396BB2

#396BB2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.8% C 0.125 H 257.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#396BB2
RGBrgb(57, 107, 178)
HSLhsl(215, 51%, 46%)
HSVhsv(215, 68%, 70%)
CMYKcmyk(68%, 39.9%, 0%, 30.2%)
CIE-LABlab(45.08, 6.80, -42.71)
CIE-LCHlch(45.08, 43.25, 279.04°)
OKLaboklab(52.83% -0.0271 -0.1217)
OKLCHoklch(52.83% 0.125 257.4)
XYZxyz(14.9780, 14.5981, 44.1392)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BB2 #B28039
analogous
#39A7B2 #396BB2 #4439B2
triadic
#396BB2 #B2396B #6BB239
tetradic
#396BB2 #B239A7 #B28039 #39B244
square
#396BB2 #B239A7 #B28039 #39B244
split-complementary
#396BB2 #B24439 #A7B239
monochromatic
#1B3355 #2A4F84 #396BB2 #5D8BCB #8BACDA

Accessibility & contrast

On white

5.36
#396BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#396BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BB2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BB2#FFFFFF#000000##FFFFFF
##396BB21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3865B1
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #396bb2;
/* rgb */ color: rgb(57, 107, 178);
/* oklch */ color: oklch(52.8% 0.125 257.4);
Tailwind
colors: {
  custom: {
    50: '#7d94c9',
    500: '#396bb2',
    950: '#000000',
  },
}
SCSS
$custom: #396bb2;
$custom-light: #7d94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#396bb2",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 215.207,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.12464,
    "h": 257.4
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#396BB2
secondary
#C4A982
accent
#A04DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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