#3972CC#3972CC

#3972CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.0% C 0.152 H 259.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3972CC
RGBrgb(57, 114, 204)
HSLhsl(217, 59%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(72.1%, 44.1%, 0%, 20%)
CIE-LABlab(48.59, 11.89, -52.12)
CIE-LCHlch(48.59, 53.46, 282.85°)
OKLaboklab(56.04% -0.0283 -0.1492)
OKLCHoklch(56.04% 0.152 259.2)
XYZxyz(18.5998, 17.2621, 59.4667)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3972CC #CC9339
analogous
#39BBCC #3972CC #4939CC
triadic
#3972CC #CC3972 #72CC39
tetradic
#3972CC #CC39BB #CC9339 #39CC49
square
#3972CC #CC39BB #CC9339 #39CC49
split-complementary
#3972CC #CC4939 #BBCC39
monochromatic
#1C3C6E #29579F #3972CC #6A95D9 #9AB7E5

Accessibility & contrast

On white

4.72
#3972CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3972CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3972CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3972CC#FFFFFF#000000##FFFFFF
##3972CC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BCF
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3972cc;
/* rgb */ color: rgb(57, 114, 204);
/* oklch */ color: oklch(56.0% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#819adc',
    500: '#3972cc',
    950: '#000000',
  },
}
SCSS
$custom: #3972cc;
$custom-light: #819adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3972cc",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 216.735,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.15185,
    "h": 259.2
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#3972CC
secondary
#D1B890
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3972CC

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

Preview Lab → · Contrast checker → · Palette generator →

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