#3961B7#3961B7

#3961B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.143 H 263.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3961B7
RGBrgb(57, 97, 183)
HSLhsl(221, 53%, 47%)
HSVhsv(221, 69%, 72%)
CMYKcmyk(68.9%, 47%, 0%, 28.2%)
CIE-LABlab(42.52, 14.98, -49.73)
CIE-LCHlch(42.52, 51.93, 286.76°)
OKLaboklab(50.95% -0.0164 -0.1424)
OKLCHoklch(50.95% 0.143 263.4)
XYZxyz(14.5063, 12.8367, 46.5038)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961B7 #B78F39
analogous
#39A0B7 #3961B7 #5039B7
triadic
#3961B7 #B73961 #61B739
tetradic
#3961B7 #B739A0 #B78F39 #39B750
square
#3961B7 #B739A0 #B78F39 #39B750
split-complementary
#3961B7 #B75039 #A0B739
monochromatic
#1C305A #2A4888 #3961B7 #6083CD #8EA7DC

Accessibility & contrast

On white

5.89
#3961B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3961B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961B7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961B7#FFFFFF#000000##FFFFFF
##3961B71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#195FB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3961b7;
/* rgb */ color: rgb(57, 97, 183);
/* oklch */ color: oklch(51.0% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#7e8dcd',
    500: '#3961b7',
    950: '#000000',
  },
}
SCSS
$custom: #3961b7;
$custom-light: #7e8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3961b7",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 220.952,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.14336,
    "h": 263.4
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3961B7

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

Preview Lab → · Contrast checker → · Palette generator →

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