#3960AB#3960AB

#3960AB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.128 H 262.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3960AB
RGBrgb(57, 96, 171)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 67%, 67%)
CMYKcmyk(66.7%, 43.9%, 0%, 32.9%)
CIE-LABlab(41.49, 11.24, -44.32)
CIE-LCHlch(41.49, 45.72, 284.23°)
OKLaboklab(49.93% -0.0175 -0.1265)
OKLCHoklch(49.93% 0.128 262.1)
XYZxyz(13.2183, 12.1746, 40.1735)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960AB #AB8439
analogous
#3999AB #3960AB #4B39AB
triadic
#3960AB #AB3960 #60AB39
tetradic
#3960AB #AB3999 #AB8439 #39AB4B
square
#3960AB #AB3999 #AB8439 #39AB4B
split-complementary
#3960AB #AB4B39 #99AB39
monochromatic
#1A2C4F #2A467D #3960AB #597FC8 #87A3D7

Accessibility & contrast

On white

6.11
#3960AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3960AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960AB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960AB#FFFFFF#000000##FFFFFF
##3960AB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AE
Deuteranopia (green-blind)
#2A5DA9
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3960ab;
/* rgb */ color: rgb(57, 96, 171);
/* oklch */ color: oklch(49.9% 0.128 262.1);
Tailwind
colors: {
  custom: {
    50: '#7c8cc4',
    500: '#3960ab',
    950: '#000000',
  },
}
SCSS
$custom: #3960ab;
$custom-light: #7c8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3960ab",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 219.474,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.12776,
    "h": 262.1
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#3960AB
secondary
#C1AA7F
accent
#AA4EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3960AB

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

Preview Lab → · Contrast checker → · Palette generator →

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