#3960BD#3960BD

#3960BD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.153 H 264.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3960BD
RGBrgb(57, 96, 189)
HSLhsl(222, 54%, 48%)
HSVhsv(222, 70%, 74%)
CMYKcmyk(69.8%, 49.2%, 0%, 25.9%)
CIE-LABlab(42.62, 17.82, -53.05)
CIE-LCHlch(42.62, 55.96, 288.57°)
OKLaboklab(51.16% -0.0147 -0.1522)
OKLCHoklch(51.16% 0.153 264.5)
XYZxyz(15.0523, 12.9082, 49.8325)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960BD #BD9639
analogous
#39A2BD #3960BD #5439BD
triadic
#3960BD #BD3960 #60BD39
tetradic
#3960BD #BD39A2 #BD9639 #39BD54
square
#3960BD #BD39A2 #BD9639 #39BD54
split-complementary
#3960BD #BD5439 #A2BD39
monochromatic
#1D305F #2B488E #3960BD #6383D0 #92A9DE

Accessibility & contrast

On white

5.86
#3960BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3960BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3960BD#FFFFFF#000000##FFFFFF
##3960BD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3960bd;
/* rgb */ color: rgb(57, 96, 189);
/* oklch */ color: oklch(51.2% 0.153 264.5);
Tailwind
colors: {
  custom: {
    50: '#7f8cd1',
    500: '#3960bd',
    950: '#000000',
  },
}
SCSS
$custom: #3960bd;
$custom-light: #7f8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3960bd",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 189
  },
  "hsl": {
    "h": 222.273,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.15292,
    "h": 264.5
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#3960BD
secondary
#C9B689
accent
#B24BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3960BD

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

Preview Lab → · Contrast checker → · Palette generator →

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