#3970BF#3970BF

#3970BF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.137 H 257.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3970BF
RGBrgb(57, 112, 191)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 75%)
CMYKcmyk(70.2%, 41.4%, 0%, 25.1%)
CIE-LABlab(47.26, 8.39, -46.78)
CIE-LCHlch(47.26, 47.53, 280.17°)
OKLaboklab(54.77% -0.0291 -0.1335)
OKLCHoklch(54.77% 0.137 257.7)
XYZxyz(16.8821, 16.2180, 51.5208)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970BF #BF8839
analogous
#39B3BF #3970BF #4539BF
triadic
#3970BF #BF3970 #70BF39
tetradic
#3970BF #BF39B3 #BF8839 #39BF45
square
#3970BF #BF39B3 #BF8839 #39BF45
split-complementary
#3970BF #BF4539 #B3BF39
monochromatic
#1D3961 #2B5490 #3970BF #6491D1 #93B2DF

Accessibility & contrast

On white

4.95
#3970BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3970BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970BF#FFFFFF#000000##FFFFFF
##3970BF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3970bf;
/* rgb */ color: rgb(57, 112, 191);
/* oklch */ color: oklch(54.8% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#7f98d3',
    500: '#3970bf',
    950: '#000000',
  },
}
SCSS
$custom: #3970bf;
$custom-light: #7f98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3970bf",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 215.373,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.13666,
    "h": 257.7
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#3970BF
secondary
#CAB08A
accent
#A14ADD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3970BF

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

Preview Lab → · Contrast checker → · Palette generator →

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