#3A72D4#3A72D4

#3A72D4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.162 H 260.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3A72D4
RGBrgb(58, 114, 212)
HSLhsl(218, 64%, 53%)
HSVhsv(218, 73%, 83%)
CMYKcmyk(72.6%, 46.2%, 0%, 16.9%)
CIE-LABlab(49.11, 14.95, -55.84)
CIE-LCHlch(49.11, 57.81, 284.99°)
OKLaboklab(56.61% -0.0262 -0.1601)
OKLCHoklch(56.61% 0.162 260.7)
XYZxyz(19.6416, 17.6855, 64.6531)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72D4 #D49C3A
analogous
#3ABFD4 #3A72D4 #4F3AD4
triadic
#3A72D4 #D43A72 #72D43A
tetradic
#3A72D4 #D43ABF #D49C3A #3AD44F
square
#3A72D4 #D43ABF #D49C3A #3AD44F
split-complementary
#3A72D4 #D44F3A #BFD43A
monochromatic
#1A3D79 #2556AB #3A72D4 #6C96DF #9EBAEA

Accessibility & contrast

On white

4.63
#3A72D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3A72D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72D4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72D4#FFFFFF#000000##FFFFFF
##3A72D41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#1A6ED2
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a72d4;
/* rgb */ color: rgb(58, 114, 212);
/* oklch */ color: oklch(56.6% 0.162 260.7);
Tailwind
colors: {
  custom: {
    50: '#8399e2',
    500: '#3a72d4',
    950: '#000000',
  },
}
SCSS
$custom: #3a72d4;
$custom-light: #8399e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72d4",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 218.182,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.16223,
    "h": 260.7
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#3A72D4
secondary
#D6BE94
accent
#AB41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72D4

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

Preview Lab → · Contrast checker → · Palette generator →

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