#3A72C5#3A72C5

#3A72C5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.142 H 258.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A72C5
RGBrgb(58, 114, 197)
HSLhsl(216, 55%, 50%)
HSVhsv(216, 71%, 77%)
CMYKcmyk(70.6%, 42.1%, 0%, 22.7%)
CIE-LABlab(48.21, 9.48, -48.71)
CIE-LCHlch(48.21, 49.62, 281.01°)
OKLaboklab(55.63% -0.029 -0.1391)
OKLCHoklch(55.63% 0.142 258.2)
XYZxyz(17.8366, 16.9635, 55.1468)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C5 #C58D3A
analogous
#3AB8C5 #3A72C5 #473AC5
triadic
#3A72C5 #C53A72 #72C53A
tetradic
#3A72C5 #C53AB8 #C58D3A #3AC547
square
#3A72C5 #C53AB8 #C58D3A #3AC547
split-complementary
#3A72C5 #C5473A #B8C53A
monochromatic
#1E3B66 #2C5796 #3A72C5 #6994D3 #99B6E1

Accessibility & contrast

On white

4.78
#3A72C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A72C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C5#FFFFFF#000000##FFFFFF
##3A72C51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#336DC3
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a72c5;
/* rgb */ color: rgb(58, 114, 197);
/* oklch */ color: oklch(55.6% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#809ad7',
    500: '#3a72c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c5;
$custom-light: #809ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c5",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 197
  },
  "hsl": {
    "h": 215.827,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.14212,
    "h": 258.2
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#3A72C5
secondary
#CDB38E
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A72C5

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

Preview Lab → · Contrast checker → · Palette generator →

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