#3972CB#3972CB

#3972CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.151 H 259.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3972CB
RGBrgb(57, 114, 203)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(71.9%, 43.8%, 0%, 20.4%)
CIE-LABlab(48.53, 11.52, -51.65)
CIE-LCHlch(48.53, 52.91, 282.58°)
OKLaboklab(55.98% -0.0285 -0.1478)
OKLCHoklch(55.98% 0.151 259.1)
XYZxyz(18.4802, 17.2143, 58.8371)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3972CB #CB9239
analogous
#39BBCB #3972CB #4939CB
triadic
#3972CB #CB3972 #72CB39
tetradic
#3972CB #CB39BB #CB9239 #39CB49
square
#3972CB #CB39BB #CB9239 #39CB49
split-complementary
#3972CB #CB4939 #BBCB39
monochromatic
#1D3C6D #29579D #3972CB #6995D8 #9AB7E4

Accessibility & contrast

On white

4.73
#3972CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3972CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3972CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3972CB#FFFFFF#000000##FFFFFF
##3972CB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3972cb;
/* rgb */ color: rgb(57, 114, 203);
/* oklch */ color: oklch(56.0% 0.151 259.1);
Tailwind
colors: {
  custom: {
    50: '#819adb',
    500: '#3972cb',
    950: '#000000',
  },
}
SCSS
$custom: #3972cb;
$custom-light: #819adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3972cb",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 216.575,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.15051,
    "h": 259.1
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3972CB

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

Preview Lab → · Contrast checker → · Palette generator →

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