#3961BA#3961BA

#3961BA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.148 H 263.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3961BA
RGBrgb(57, 97, 186)
HSLhsl(221, 53%, 48%)
HSVhsv(221, 69%, 73%)
CMYKcmyk(69.4%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.71, 16.08, -51.17)
CIE-LCHlch(42.71, 53.64, 287.44°)
OKLaboklab(51.16% -0.016 -0.1467)
OKLCHoklch(51.16% 0.148 263.8)
XYZxyz(14.8218, 12.9629, 48.1658)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961BA #BA9239
analogous
#39A2BA #3961BA #5139BA
triadic
#3961BA #BA3961 #61BA39
tetradic
#3961BA #BA39A2 #BA9239 #39BA51
square
#3961BA #BA39A2 #BA9239 #39BA51
split-complementary
#3961BA #BA5139 #A2BA39
monochromatic
#1C305C #2B498B #3961BA #6183CF #90A8DD

Accessibility & contrast

On white

5.85
#3961BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3961BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961BA#FFFFFF#000000##FFFFFF
##3961BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3961ba;
/* rgb */ color: rgb(57, 97, 186);
/* oklch */ color: oklch(51.2% 0.148 263.8);
Tailwind
colors: {
  custom: {
    50: '#7e8dcf',
    500: '#3961ba',
    950: '#000000',
  },
}
SCSS
$custom: #3961ba;
$custom-light: #7e8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3961ba",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 221.395,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.14754,
    "h": 263.8
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3961BA

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

Preview Lab → · Contrast checker → · Palette generator →

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