#3960BA#3960BA

#3960BA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.149 H 264.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3960BA
RGBrgb(57, 96, 186)
HSLhsl(222, 53%, 48%)
HSVhsv(222, 69%, 73%)
CMYKcmyk(69.4%, 48.4%, 0%, 27.1%)
CIE-LABlab(42.43, 16.72, -51.62)
CIE-LCHlch(42.43, 54.26, 287.95°)
OKLaboklab(50.95% -0.0151 -0.148)
OKLCHoklch(50.95% 0.149 264.2)
XYZxyz(14.7300, 12.7793, 48.1352)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960BA #BA9339
analogous
#39A1BA #3960BA #5239BA
triadic
#3960BA #BA3960 #60BA39
tetradic
#3960BA #BA39A1 #BA9339 #39BA52
square
#3960BA #BA39A1 #BA9339 #39BA52
split-complementary
#3960BA #BA5239 #A1BA39
monochromatic
#1C305C #2B488B #3960BA #6183CF #90A8DD

Accessibility & contrast

On white

5.91
#3960BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3960BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3960BA#FFFFFF#000000##FFFFFF
##3960BA1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3960ba;
/* rgb */ color: rgb(57, 96, 186);
/* oklch */ color: oklch(50.9% 0.149 264.2);
Tailwind
colors: {
  custom: {
    50: '#7e8ccf',
    500: '#3960ba',
    950: '#000000',
  },
}
SCSS
$custom: #3960ba;
$custom-light: #7e8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3960ba",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 221.86,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.14877,
    "h": 264.2
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#3960BA
secondary
#C8B487
accent
#B14BDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3960BA

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

Preview Lab → · Contrast checker → · Palette generator →

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