#3971DA#3971DA

#3971DA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.8% C 0.172 H 261.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3971DA
RGBrgb(57, 113, 218)
HSLhsl(219, 69%, 54%)
HSVhsv(219, 74%, 85%)
CMYKcmyk(73.9%, 48.2%, 0%, 14.5%)
CIE-LABlab(49.18, 17.65, -59.14)
CIE-LCHlch(49.18, 61.72, 286.62°)
OKLaboklab(56.77% -0.0252 -0.1698)
OKLCHoklch(56.77% 0.172 261.6)
XYZxyz(20.2428, 17.7398, 68.6733)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971DA #DAA239
analogous
#39C2DA #3971DA #5239DA
triadic
#3971DA #DA3971 #71DA39
tetradic
#3971DA #DA39C2 #DAA239 #39DA52
square
#3971DA #DA39C2 #DAA239 #39DA52
split-complementary
#3971DA #DA5239 #C2DA39
monochromatic
#183C81 #2255B4 #3971DA #6D96E4 #A0BBED

Accessibility & contrast

On white

4.62
#3971DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3971DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3971DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971DA#FFFFFF#000000##FFFFFF
##3971DA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#367DDE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3971da;
/* rgb */ color: rgb(57, 113, 218);
/* oklch */ color: oklch(56.8% 0.172 261.6);
Tailwind
colors: {
  custom: {
    50: '#8499e6',
    500: '#3971da',
    950: '#000000',
  },
}
SCSS
$custom: #3971da;
$custom-light: #8499e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3971da",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 219.13,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.1717,
    "h": 261.6
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#3971DA
secondary
#DAC295
accent
#AF3CEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3971DA

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

Preview Lab → · Contrast checker → · Palette generator →

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