#3972CA#3972CA

#3972CA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.149 H 258.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3972CA
RGBrgb(57, 114, 202)
HSLhsl(216, 58%, 51%)
HSVhsv(216, 72%, 79%)
CMYKcmyk(71.8%, 43.6%, 0%, 20.8%)
CIE-LABlab(48.47, 11.16, -51.17)
CIE-LCHlch(48.47, 52.37, 282.30°)
OKLaboklab(55.91% -0.0287 -0.1464)
OKLCHoklch(55.91% 0.149 258.9)
XYZxyz(18.3615, 17.1668, 58.2115)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3972CA #CA9139
analogous
#39BACA #3972CA #4839CA
triadic
#3972CA #CA3972 #72CA39
tetradic
#3972CA #CA39BA #CA9139 #39CA48
square
#3972CA #CA39BA #CA9139 #39CA48
split-complementary
#3972CA #CA4839 #BACA39
monochromatic
#1D3C6C #2A579C #3972CA #6994D7 #9AB7E4

Accessibility & contrast

On white

4.74
#3972CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3972CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3972CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3972CA#FFFFFF#000000##FFFFFF
##3972CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACD
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3972ca;
/* rgb */ color: rgb(57, 114, 202);
/* oklch */ color: oklch(55.9% 0.149 258.9);
Tailwind
colors: {
  custom: {
    50: '#819adb',
    500: '#3972ca',
    950: '#000000',
  },
}
SCSS
$custom: #3972ca;
$custom-light: #819adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3972ca",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 216.414,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.14917,
    "h": 258.9
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#3972CA
secondary
#D0B68F
accent
#A447E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3972CA

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

Preview Lab → · Contrast checker → · Palette generator →

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