#3960B3#3960B3

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

Color values

HEX#3960B3
RGBrgb(57, 96, 179)
HSLhsl(221, 52%, 46%)
HSVhsv(221, 68%, 70%)
CMYKcmyk(68.2%, 46.4%, 0%, 29.8%)
CIE-LABlab(41.98, 14.16, -48.24)
CIE-LCHlch(41.98, 50.28, 286.36°)
OKLaboklab(50.46% -0.0161 -0.1381)
OKLCHoklch(50.46% 0.139 263.3)
XYZxyz(14.0040, 12.4889, 44.3117)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960B3 #B38C39
analogous
#399DB3 #3960B3 #4F39B3
triadic
#3960B3 #B33960 #60B339
tetradic
#3960B3 #B3399D #B38C39 #39B34F
square
#3960B3 #B3399D #B38C39 #39B34F
split-complementary
#3960B3 #B34F39 #9DB339
monochromatic
#1B2E56 #2A4785 #3960B3 #5E81CC #8CA5DA

Accessibility & contrast

On white

6.00
#3960B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3960B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3960B3#FFFFFF#000000##FFFFFF
##3960B31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3960b3;
/* rgb */ color: rgb(57, 96, 179);
/* oklch */ color: oklch(50.5% 0.139 263.3);
Tailwind
colors: {
  custom: {
    50: '#7d8cca',
    500: '#3960b3',
    950: '#000000',
  },
}
SCSS
$custom: #3960b3;
$custom-light: #7d8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3960b3",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 179
  },
  "hsl": {
    "h": 220.82,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.13901,
    "h": 263.3
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3960B3

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

Preview Lab → · Contrast checker → · Palette generator →

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