#3A72C4#3A72C4

#3A72C4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.141 H 258.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A72C4
RGBrgb(58, 114, 196)
HSLhsl(216, 54%, 50%)
HSVhsv(216, 70%, 77%)
CMYKcmyk(70.4%, 41.8%, 0%, 23.1%)
CIE-LABlab(48.16, 9.11, -48.23)
CIE-LCHlch(48.16, 49.08, 280.70°)
OKLaboklab(55.57% -0.0292 -0.1377)
OKLCHoklch(55.57% 0.141 258)
XYZxyz(17.7224, 16.9178, 54.5453)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C4 #C48C3A
analogous
#3AB7C4 #3A72C4 #473AC4
triadic
#3A72C4 #C43A72 #72C43A
tetradic
#3A72C4 #C43AB7 #C48C3A #3AC447
square
#3A72C4 #C43AB7 #C48C3A #3AC447
split-complementary
#3A72C4 #C4473A #B7C43A
monochromatic
#1E3B66 #2C5795 #3A72C4 #6994D3 #98B5E0

Accessibility & contrast

On white

4.79
#3A72C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3A72C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C4#FFFFFF#000000##FFFFFF
##3A72C41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#346CC2
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a72c4;
/* rgb */ color: rgb(58, 114, 196);
/* oklch */ color: oklch(55.6% 0.141 258.0);
Tailwind
colors: {
  custom: {
    50: '#809ad6',
    500: '#3a72c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c4;
$custom-light: #809ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c4",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 196
  },
  "hsl": {
    "h": 215.652,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.14078,
    "h": 258
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#3A72C4
secondary
#CCB38E
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A72C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3A72C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva