#3960A4#3960A4

#3960A4 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.118 H 260.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3960A4
RGBrgb(57, 96, 164)
HSLhsl(218, 48%, 43%)
HSVhsv(218, 65%, 64%)
CMYKcmyk(65.2%, 41.5%, 0%, 35.7%)
CIE-LABlab(41.08, 8.70, -40.84)
CIE-LCHlch(41.08, 41.76, 282.02°)
OKLaboklab(49.48% -0.019 -0.1163)
OKLCHoklch(49.48% 0.118 260.7)
XYZxyz(12.5687, 11.9147, 36.7522)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960A4 #A47D39
analogous
#3995A4 #3960A4 #4739A4
triadic
#3960A4 #A43960 #60A439
tetradic
#3960A4 #A43995 #A47D39 #39A447
square
#3960A4 #A43995 #A47D39 #39A447
split-complementary
#3960A4 #A44739 #95A439
monochromatic
#192B49 #294577 #3960A4 #567EC4 #83A1D4

Accessibility & contrast

On white

6.21
#3960A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3960A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960A4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960A4#FFFFFF#000000##FFFFFF
##3960A41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A7
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3960a4;
/* rgb */ color: rgb(57, 96, 164);
/* oklch */ color: oklch(49.5% 0.118 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8cbf',
    500: '#3960a4',
    950: '#000000',
  },
}
SCSS
$custom: #3960a4;
$custom-light: #7a8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3960a4",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 164
  },
  "hsl": {
    "h": 218.131,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.11785,
    "h": 260.7
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#3960A4
secondary
#BEA57B
accent
#A650D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3960A4

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

Preview Lab → · Contrast checker → · Palette generator →

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