#3960AA#3960AA

#3960AA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.126 H 261.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3960AA
RGBrgb(57, 96, 170)
HSLhsl(219, 50%, 45%)
HSVhsv(219, 66%, 67%)
CMYKcmyk(66.5%, 43.5%, 0%, 33.3%)
CIE-LABlab(41.43, 10.87, -43.83)
CIE-LCHlch(41.43, 45.16, 283.93°)
OKLaboklab(49.86% -0.0177 -0.1251)
OKLCHoklch(49.86% 0.126 261.9)
XYZxyz(13.1234, 12.1366, 39.6734)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960AA #AA8339
analogous
#3999AA #3960AA #4B39AA
triadic
#3960AA #AA3960 #60AA39
tetradic
#3960AA #AA3999 #AA8339 #39AA4B
square
#3960AA #AA3999 #AA8339 #39AA4B
split-complementary
#3960AA #AA4B39 #99AA39
monochromatic
#1A2C4E #2A467C #3960AA #597FC7 #87A2D7

Accessibility & contrast

On white

6.13
#3960AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3960AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3960AA#FFFFFF#000000##FFFFFF
##3960AA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3960aa;
/* rgb */ color: rgb(57, 96, 170);
/* oklch */ color: oklch(49.9% 0.126 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8cc4',
    500: '#3960aa',
    950: '#000000',
  },
}
SCSS
$custom: #3960aa;
$custom-light: #7b8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3960aa",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 170
  },
  "hsl": {
    "h": 219.292,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.12635,
    "h": 261.9
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#3960AA
secondary
#C1AA7E
accent
#A94ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3960AA

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

Preview Lab → · Contrast checker → · Palette generator →

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