#3A72C9#3A72C9

#3A72C9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.147 H 259.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3A72C9
RGBrgb(58, 114, 201)
HSLhsl(217, 57%, 51%)
HSVhsv(217, 71%, 79%)
CMYKcmyk(71.1%, 43.3%, 0%, 21.2%)
CIE-LABlab(48.45, 10.93, -50.63)
CIE-LCHlch(48.45, 51.80, 282.18°)
OKLaboklab(55.89% -0.0282 -0.1448)
OKLCHoklch(55.89% 0.148 259)
XYZxyz(18.3010, 17.1493, 57.5927)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C9 #C9913A
analogous
#3ABAC9 #3A72C9 #493AC9
triadic
#3A72C9 #C93A72 #72C93A
tetradic
#3A72C9 #C93ABA #C9913A #3AC949
square
#3A72C9 #C93ABA #C9913A #3AC949
split-complementary
#3A72C9 #C9493A #BAC93A
monochromatic
#1D3C6B #2B579B #3A72C9 #6A94D6 #9AB7E3

Accessibility & contrast

On white

4.74
#3A72C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3A72C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C9#FFFFFF#000000##FFFFFF
##3A72C91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACC
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a72c9;
/* rgb */ color: rgb(58, 114, 201);
/* oklch */ color: oklch(55.9% 0.147 259.0);
Tailwind
colors: {
  custom: {
    50: '#819ada',
    500: '#3a72c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c9;
$custom-light: #819ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c9",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 201
  },
  "hsl": {
    "h": 216.503,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.1475,
    "h": 259
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#3A72C9
secondary
#CFB690
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72C9

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

Preview Lab → · Contrast checker → · Palette generator →

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