#3A72D3#3A72D3

#3A72D3 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.161 H 260.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3A72D3
RGBrgb(58, 114, 211)
HSLhsl(218, 63%, 53%)
HSVhsv(218, 73%, 83%)
CMYKcmyk(72.5%, 46%, 0%, 17.3%)
CIE-LABlab(49.05, 14.59, -55.37)
CIE-LCHlch(49.05, 57.26, 284.76°)
OKLaboklab(56.54% -0.0264 -0.1587)
OKLCHoklch(56.54% 0.161 260.6)
XYZxyz(19.5159, 17.6352, 63.9908)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72D3 #D39B3A
analogous
#3ABED3 #3A72D3 #4E3AD3
triadic
#3A72D3 #D33A72 #72D33A
tetradic
#3A72D3 #D33ABE #D39B3A #3AD34E
square
#3A72D3 #D33ABE #D39B3A #3AD34E
split-complementary
#3A72D3 #D34E3A #BED33A
monochromatic
#1B3D78 #2656AA #3A72D3 #6C96DE #9EBAE9

Accessibility & contrast

On white

4.64
#3A72D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3A72D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72D3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72D3#FFFFFF#000000##FFFFFF
##3A72D31.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD7
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#008998
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a72d3;
/* rgb */ color: rgb(58, 114, 211);
/* oklch */ color: oklch(56.5% 0.161 260.6);
Tailwind
colors: {
  custom: {
    50: '#8399e1',
    500: '#3a72d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a72d3;
$custom-light: #8399e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72d3",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 211
  },
  "hsl": {
    "h": 218.039,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.1609,
    "h": 260.6
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#3A72D3
secondary
#D6BD93
accent
#AA41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72D3

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

Preview Lab → · Contrast checker → · Palette generator →

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