#3960B7#3960B7

#3960B7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.145 H 263.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3960B7
RGBrgb(57, 96, 183)
HSLhsl(221, 53%, 47%)
HSVhsv(221, 69%, 72%)
CMYKcmyk(68.9%, 47.5%, 0%, 28.2%)
CIE-LABlab(42.24, 15.62, -50.18)
CIE-LCHlch(42.24, 52.55, 287.29°)
OKLaboklab(50.74% -0.0155 -0.1438)
OKLCHoklch(50.74% 0.145 263.8)
XYZxyz(14.4144, 12.6531, 46.4732)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960B7 #B79039
analogous
#399FB7 #3960B7 #5139B7
triadic
#3960B7 #B73960 #60B739
tetradic
#3960B7 #B7399F #B79039 #39B751
square
#3960B7 #B7399F #B79039 #39B751
split-complementary
#3960B7 #B75139 #9FB739
monochromatic
#1C2F5A #2A4888 #3960B7 #6082CD #8EA6DC

Accessibility & contrast

On white

5.95
#3960B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3960B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3960B7#FFFFFF#000000##FFFFFF
##3960B71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#155EB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3960b7;
/* rgb */ color: rgb(57, 96, 183);
/* oklch */ color: oklch(50.7% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#7e8ccd',
    500: '#3960b7',
    950: '#000000',
  },
}
SCSS
$custom: #3960b7;
$custom-light: #7e8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3960b7",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 183
  },
  "hsl": {
    "h": 221.429,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.14459,
    "h": 263.8
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#3960B7
secondary
#C7B285
accent
#AF4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3960B7

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

Preview Lab → · Contrast checker → · Palette generator →

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