#3A72D9#3A72D9

#3A72D9 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.169 H 261.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3A72D9
RGBrgb(58, 114, 217)
HSLhsl(219, 68%, 54%)
HSVhsv(219, 73%, 85%)
CMYKcmyk(73.3%, 47.5%, 0%, 14.9%)
CIE-LABlab(49.43, 16.78, -58.17)
CIE-LCHlch(49.43, 60.55, 286.09°)
OKLaboklab(56.95% -0.0254 -0.167)
OKLCHoklch(56.95% 0.169 261.3)
XYZxyz(20.2821, 17.9417, 68.0264)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72D9 #D9A13A
analogous
#3AC2D9 #3A72D9 #523AD9
triadic
#3A72D9 #D93A72 #72D93A
tetradic
#3A72D9 #D93AC2 #D9A13A #3AD952
square
#3A72D9 #D93AC2 #D9A13A #3AD952
split-complementary
#3A72D9 #D9523A #C2D93A
monochromatic
#193D80 #2356B3 #3A72D9 #6D97E3 #A1BBED

Accessibility & contrast

On white

4.58
#3A72D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3A72D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A72D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72D9#FFFFFF#000000##000000
##3A72D91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDD
Deuteranopia (green-blind)
#076FD7
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a72d9;
/* rgb */ color: rgb(58, 114, 217);
/* oklch */ color: oklch(57.0% 0.169 261.3);
Tailwind
colors: {
  custom: {
    50: '#8499e5',
    500: '#3a72d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a72d9;
$custom-light: #8499e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72d9",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 218.868,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.1689,
    "h": 261.3
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#3A72D9
secondary
#D9C195
accent
#AE3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A72D9

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

Preview Lab → · Contrast checker → · Palette generator →

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