#396CB5#396CB5

#396CB5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.2% C 0.128 H 257.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#396CB5
RGBrgb(57, 108, 181)
HSLhsl(215, 52%, 47%)
HSVhsv(215, 69%, 71%)
CMYKcmyk(68.5%, 40.3%, 0%, 29%)
CIE-LABlab(45.54, 7.26, -43.73)
CIE-LCHlch(45.54, 44.33, 279.43°)
OKLaboklab(53.25% -0.0274 -0.1246)
OKLCHoklch(53.25% 0.128 257.6)
XYZxyz(15.3874, 14.9296, 45.7779)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396CB5 #B58239
analogous
#39AAB5 #396CB5 #4439B5
triadic
#396CB5 #B5396C #6CB539
tetradic
#396CB5 #B539AA #B58239 #39B544
square
#396CB5 #B539AA #B58239 #39B544
split-complementary
#396CB5 #B54439 #AAB539
monochromatic
#1C3458 #2A5086 #396CB5 #5F8CCD #8DADDB

Accessibility & contrast

On white

5.27
#396CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#396CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396CB5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396CB5#FFFFFF#000000##FFFFFF
##396CB51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#3766B4
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #396cb5;
/* rgb */ color: rgb(57, 108, 181);
/* oklch */ color: oklch(53.2% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#7d95cb',
    500: '#396cb5',
    950: '#000000',
  },
}
SCSS
$custom: #396cb5;
$custom-light: #7d95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#396cb5",
  "rgb": {
    "r": 57,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 215.323,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.12761,
    "h": 257.6
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#396CB5
secondary
#C6AB84
accent
#A14CDC
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #396CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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