#396BB3#396BB3

#396BB3 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.126 H 257.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#396BB3
RGBrgb(57, 107, 179)
HSLhsl(215, 52%, 46%)
HSVhsv(215, 68%, 70%)
CMYKcmyk(68.2%, 40.2%, 0%, 29.8%)
CIE-LABlab(45.13, 7.16, -43.21)
CIE-LCHlch(45.13, 43.79, 279.41°)
OKLaboklab(52.9% -0.0269 -0.1231)
OKLCHoklch(52.9% 0.126 257.7)
XYZxyz(15.0788, 14.6384, 44.6699)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396BB3 #B38139
analogous
#39A8B3 #396BB3 #4439B3
triadic
#396BB3 #B3396B #6BB339
tetradic
#396BB3 #B339A8 #B38139 #39B344
square
#396BB3 #B339A8 #B38139 #39B344
split-complementary
#396BB3 #B34439 #A8B339
monochromatic
#1B3456 #2A4F85 #396BB3 #5E8BCC #8CACDA

Accessibility & contrast

On white

5.35
#396BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#396BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396BB3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396BB3#FFFFFF#000000##FFFFFF
##396BB31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #396bb3;
/* rgb */ color: rgb(57, 107, 179);
/* oklch */ color: oklch(52.9% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#7d94ca',
    500: '#396bb3',
    950: '#000000',
  },
}
SCSS
$custom: #396bb3;
$custom-light: #7d94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#396bb3",
  "rgb": {
    "r": 57,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 215.41,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.12601,
    "h": 257.7
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#396BB3
secondary
#C5AA83
accent
#A14DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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