#3961BD#3961BD

#3961BD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.152 H 264.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3961BD
RGBrgb(57, 97, 189)
HSLhsl(222, 54%, 48%)
HSVhsv(222, 70%, 74%)
CMYKcmyk(69.8%, 48.7%, 0%, 25.9%)
CIE-LABlab(42.90, 17.18, -52.61)
CIE-LCHlch(42.90, 55.34, 288.09°)
OKLaboklab(51.37% -0.0156 -0.1509)
OKLCHoklch(51.37% 0.152 264.1)
XYZxyz(15.1441, 13.0918, 49.8631)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961BD #BD9539
analogous
#39A3BD #3961BD #5339BD
triadic
#3961BD #BD3961 #61BD39
tetradic
#3961BD #BD39A3 #BD9539 #39BD53
square
#3961BD #BD39A3 #BD9539 #39BD53
split-complementary
#3961BD #BD5339 #A3BD39
monochromatic
#1D315F #2B498E #3961BD #6384D0 #92A9DE

Accessibility & contrast

On white

5.80
#3961BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3961BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961BD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961BD#FFFFFF#000000##FFFFFF
##3961BD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#0660BB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3961bd;
/* rgb */ color: rgb(57, 97, 189);
/* oklch */ color: oklch(51.4% 0.152 264.1);
Tailwind
colors: {
  custom: {
    50: '#7f8dd1',
    500: '#3961bd',
    950: '#000000',
  },
}
SCSS
$custom: #3961bd;
$custom-light: #7f8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3961bd",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 221.818,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.15169,
    "h": 264.1
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3961BD

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

Preview Lab → · Contrast checker → · Palette generator →

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