#3A72D1#3A72D1

#3A72D1 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.158 H 260.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3A72D1
RGBrgb(58, 114, 209)
HSLhsl(218, 62%, 52%)
HSVhsv(218, 72%, 82%)
CMYKcmyk(72.2%, 45.5%, 0%, 18%)
CIE-LABlab(48.93, 13.85, -54.43)
CIE-LCHlch(48.93, 56.16, 284.28°)
OKLaboklab(56.41% -0.0267 -0.1559)
OKLCHoklch(56.41% 0.158 260.3)
XYZxyz(19.2667, 17.5355, 62.6785)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72D1 #D1993A
analogous
#3ABED1 #3A72D1 #4D3AD1
triadic
#3A72D1 #D13A72 #72D13A
tetradic
#3A72D1 #D13ABE #D1993A #3AD14D
square
#3A72D1 #D13ABE #D1993A #3AD14D
split-complementary
#3A72D1 #D14D3A #BED13A
monochromatic
#1B3D75 #2756A7 #3A72D1 #6C96DD #9DB9E8

Accessibility & contrast

On white

4.66
#3A72D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3A72D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72D1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72D1#FFFFFF#000000##FFFFFF
##3A72D11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a72d1;
/* rgb */ color: rgb(58, 114, 209);
/* oklch */ color: oklch(56.4% 0.158 260.3);
Tailwind
colors: {
  custom: {
    50: '#8399e0',
    500: '#3a72d1',
    950: '#000000',
  },
}
SCSS
$custom: #3a72d1;
$custom-light: #8399e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72d1",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 209
  },
  "hsl": {
    "h": 217.748,
    "s": 62.14,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.15822,
    "h": 260.3
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#3A72D1
secondary
#D4BC93
accent
#A943E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72D1

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

Preview Lab → · Contrast checker → · Palette generator →

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