#3964BF#3964BF

#3964BF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.151 H 263.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3964BF
RGBrgb(57, 100, 191)
HSLhsl(221, 54%, 49%)
HSVhsv(221, 70%, 75%)
CMYKcmyk(70.2%, 47.6%, 0%, 25.1%)
CIE-LABlab(43.86, 15.99, -52.22)
CIE-LCHlch(43.86, 54.61, 287.02°)
OKLaboklab(52.15% -0.018 -0.1497)
OKLCHoklch(52.15% 0.151 263.2)
XYZxyz(15.6452, 13.7442, 51.1085)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3964BF #BF9439
analogous
#39A7BF #3964BF #5139BF
triadic
#3964BF #BF3964 #64BF39
tetradic
#3964BF #BF39A7 #BF9439 #39BF51
square
#3964BF #BF39A7 #BF9439 #39BF51
split-complementary
#3964BF #BF5139 #A7BF39
monochromatic
#1D3361 #2B4B90 #3964BF #6487D1 #93ACDF

Accessibility & contrast

On white

5.60
#3964BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3964BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3964BF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3964BF#FFFFFF#000000##FFFFFF
##3964BF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3964bf;
/* rgb */ color: rgb(57, 100, 191);
/* oklch */ color: oklch(52.1% 0.151 263.2);
Tailwind
colors: {
  custom: {
    50: '#7f8fd3',
    500: '#3964bf',
    950: '#000000',
  },
}
SCSS
$custom: #3964bf;
$custom-light: #7f8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3964bf",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 220.746,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.15078,
    "h": 263.2
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#3964BF
secondary
#CAB58A
accent
#AE4ADD
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3964BF

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

Preview Lab → · Contrast checker → · Palette generator →

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