#3961BF#3961BF

#3961BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.154 H 264.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3961BF
RGBrgb(57, 97, 191)
HSLhsl(222, 54%, 49%)
HSVhsv(222, 70%, 75%)
CMYKcmyk(70.2%, 49.2%, 0%, 25.1%)
CIE-LABlab(43.03, 17.91, -53.56)
CIE-LCHlch(43.03, 56.47, 288.49°)
OKLaboklab(51.51% -0.0153 -0.1537)
OKLCHoklch(51.51% 0.154 264.3)
XYZxyz(15.3627, 13.1793, 51.0143)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961BF #BF9739
analogous
#39A4BF #3961BF #5439BF
triadic
#3961BF #BF3961 #61BF39
tetradic
#3961BF #BF39A4 #BF9739 #39BF54
square
#3961BF #BF39A4 #BF9739 #39BF54
split-complementary
#3961BF #BF5439 #A4BF39
monochromatic
#1D3161 #2B4990 #3961BF #6485D1 #93AADF

Accessibility & contrast

On white

5.78
#3961BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3961BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961BF#FFFFFF#000000##FFFFFF
##3961BF1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3961bf;
/* rgb */ color: rgb(57, 97, 191);
/* oklch */ color: oklch(51.5% 0.154 264.3);
Tailwind
colors: {
  custom: {
    50: '#7f8dd3',
    500: '#3961bf',
    950: '#000000',
  },
}
SCSS
$custom: #3961bf;
$custom-light: #7f8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3961bf",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 222.09,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.15445,
    "h": 264.3
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#3961BF
secondary
#CAB78A
accent
#B24ADD
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3961BF

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

Preview Lab → · Contrast checker → · Palette generator →

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