#3961BC#3961BC

#3961BC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.150 H 264.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3961BC
RGBrgb(57, 97, 188)
HSLhsl(222, 53%, 48%)
HSVhsv(222, 70%, 74%)
CMYKcmyk(69.7%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.84, 16.81, -52.13)
CIE-LCHlch(42.84, 54.77, 287.88°)
OKLaboklab(51.3% -0.0157 -0.1495)
OKLCHoklch(51.3% 0.15 264)
XYZxyz(15.0359, 13.0486, 49.2934)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961BC #BC9439
analogous
#39A2BC #3961BC #5239BC
triadic
#3961BC #BC3961 #61BC39
tetradic
#3961BC #BC39A2 #BC9439 #39BC52
square
#3961BC #BC39A2 #BC9439 #39BC52
split-complementary
#3961BC #BC5239 #A2BC39
monochromatic
#1D315E #2B498D #3961BC #6384D0 #92A9DE

Accessibility & contrast

On white

5.82
#3961BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3961BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961BC#FFFFFF#000000##FFFFFF
##3961BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3961bc;
/* rgb */ color: rgb(57, 97, 188);
/* oklch */ color: oklch(51.3% 0.150 264.0);
Tailwind
colors: {
  custom: {
    50: '#7f8dd1',
    500: '#3961bc',
    950: '#000000',
  },
}
SCSS
$custom: #3961bc;
$custom-light: #7f8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3961bc",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 221.679,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.513,
    "c": 0.15031,
    "h": 264
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#3961BC
secondary
#C9B588
accent
#B04BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3961BC

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

Preview Lab → · Contrast checker → · Palette generator →

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