#3960B4#3960B4

#3960B4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.140 H 263.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3960B4
RGBrgb(57, 96, 180)
HSLhsl(221, 52%, 46%)
HSVhsv(221, 68%, 71%)
CMYKcmyk(68.3%, 46.7%, 0%, 29.4%)
CIE-LABlab(42.05, 14.52, -48.73)
CIE-LCHlch(42.05, 50.85, 286.60°)
OKLaboklab(50.53% -0.016 -0.1395)
OKLCHoklch(50.53% 0.14 263.5)
XYZxyz(14.1055, 12.5295, 44.8462)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960B4 #B48D39
analogous
#399EB4 #3960B4 #5039B4
triadic
#3960B4 #B43960 #60B439
tetradic
#3960B4 #B4399E #B48D39 #39B450
square
#3960B4 #B4399E #B48D39 #39B450
split-complementary
#3960B4 #B45039 #9EB439
monochromatic
#1C2E57 #2A4786 #3960B4 #5E81CC #8DA5DB

Accessibility & contrast

On white

5.99
#3960B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3960B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960B4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960B4#FFFFFF#000000##FFFFFF
##3960B41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3960b4;
/* rgb */ color: rgb(57, 96, 180);
/* oklch */ color: oklch(50.5% 0.140 263.5);
Tailwind
colors: {
  custom: {
    50: '#7d8ccb',
    500: '#3960b4',
    950: '#000000',
  },
}
SCSS
$custom: #3960b4;
$custom-light: #7d8ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3960b4",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 220.976,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.14041,
    "h": 263.5
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#3960B4
secondary
#C5B083
accent
#AE4CDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3960B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3960B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva