#3971C9#3971C9

#3971C9 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.149 H 259.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3971C9
RGBrgb(57, 113, 201)
HSLhsl(217, 57%, 51%)
HSVhsv(217, 72%, 79%)
CMYKcmyk(71.6%, 43.8%, 0%, 21.2%)
CIE-LABlab(48.13, 11.42, -51.14)
CIE-LCHlch(48.13, 52.40, 282.58°)
OKLaboklab(55.63% -0.028 -0.1463)
OKLCHoklch(55.63% 0.149 259.2)
XYZxyz(18.1313, 16.8952, 57.5526)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C9 #C99139
analogous
#39B9C9 #3971C9 #4939C9
triadic
#3971C9 #C93971 #71C939
tetradic
#3971C9 #C939B9 #C99139 #39C949
square
#3971C9 #C939B9 #C99139 #39C949
split-complementary
#3971C9 #C94939 #B9C939
monochromatic
#1D3B6B #2A569B #3971C9 #6993D6 #99B6E3

Accessibility & contrast

On white

4.80
#3971C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3971C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C9#FFFFFF#000000##FFFFFF
##3971C91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CC
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3971c9;
/* rgb */ color: rgb(57, 113, 201);
/* oklch */ color: oklch(55.6% 0.149 259.2);
Tailwind
colors: {
  custom: {
    50: '#8199da',
    500: '#3971c9',
    950: '#000000',
  },
}
SCSS
$custom: #3971c9;
$custom-light: #8199da;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c9",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 216.667,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.14897,
    "h": 259.2
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#3971C9
secondary
#CFB68F
accent
#A547E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3971C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva