#3970BD#3970BD

#3970BD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.6% C 0.134 H 257.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3970BD
RGBrgb(57, 112, 189)
HSLhsl(215, 54%, 48%)
HSVhsv(215, 70%, 74%)
CMYKcmyk(69.8%, 40.7%, 0%, 25.9%)
CIE-LABlab(47.15, 7.66, -45.81)
CIE-LCHlch(47.15, 46.44, 279.50°)
OKLaboklab(54.64% -0.0295 -0.1307)
OKLCHoklch(54.64% 0.134 257.3)
XYZxyz(16.6635, 16.1306, 50.3696)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3970BD #BD8639
analogous
#39B2BD #3970BD #4439BD
triadic
#3970BD #BD3970 #70BD39
tetradic
#3970BD #BD39B2 #BD8639 #39BD44
square
#3970BD #BD39B2 #BD8639 #39BD44
split-complementary
#3970BD #BD4439 #B2BD39
monochromatic
#1D385F #2B548E #3970BD #6391D0 #92B2DE

Accessibility & contrast

On white

4.97
#3970BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3970BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3970BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3970BD#FFFFFF#000000##FFFFFF
##3970BD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3970bd;
/* rgb */ color: rgb(57, 112, 189);
/* oklch */ color: oklch(54.6% 0.134 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f98d1',
    500: '#3970bd',
    950: '#000000',
  },
}
SCSS
$custom: #3970bd;
$custom-light: #7f98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3970bd",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 215,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.13396,
    "h": 257.3
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#3970BD
secondary
#C9AE89
accent
#A04BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3970BD

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

Preview Lab → · Contrast checker → · Palette generator →

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