#3971CA#3971CA

#3971CA is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.150 H 259.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3971CA
RGBrgb(57, 113, 202)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 72%, 79%)
CMYKcmyk(71.8%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.19, 11.78, -51.62)
CIE-LCHlch(48.19, 52.95, 282.86°)
OKLaboklab(55.69% -0.0278 -0.1477)
OKLCHoklch(55.69% 0.15 259.3)
XYZxyz(18.2493, 16.9424, 58.1741)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971CA #CA9239
analogous
#39B9CA #3971CA #4939CA
triadic
#3971CA #CA3971 #71CA39
tetradic
#3971CA #CA39B9 #CA9239 #39CA49
square
#3971CA #CA39B9 #CA9239 #39CA49
split-complementary
#3971CA #CA4939 #B9CA39
monochromatic
#1D3B6C #2A569C #3971CA #6994D7 #9AB6E4

Accessibility & contrast

On white

4.78
#3971CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3971CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971CA#FFFFFF#000000##FFFFFF
##3971CA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3971ca;
/* rgb */ color: rgb(57, 113, 202);
/* oklch */ color: oklch(55.7% 0.150 259.3);
Tailwind
colors: {
  custom: {
    50: '#8199db',
    500: '#3971ca',
    950: '#000000',
  },
}
SCSS
$custom: #3971ca;
$custom-light: #8199db;
$custom-dark: #000000;
JSON
{
  "hex": "#3971ca",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 216.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.15031,
    "h": 259.3
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#3971CA
secondary
#D0B78F
accent
#A547E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971CA

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

Preview Lab → · Contrast checker → · Palette generator →

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