#3A72C2#3A72C2

#3A72C2 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.138 H 257.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3A72C2
RGBrgb(58, 114, 194)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 76%)
CMYKcmyk(70.1%, 41.2%, 0%, 23.9%)
CIE-LABlab(48.04, 8.39, -47.26)
CIE-LCHlch(48.04, 48.00, 280.06°)
OKLaboklab(55.44% -0.0296 -0.1349)
OKLCHoklch(55.44% 0.138 257.6)
XYZxyz(17.4963, 16.8274, 53.3544)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C2 #C28A3A
analogous
#3AB6C2 #3A72C2 #463AC2
triadic
#3A72C2 #C23A72 #72C23A
tetradic
#3A72C2 #C23AB6 #C28A3A #3AC246
square
#3A72C2 #C23AB6 #C28A3A #3AC246
split-complementary
#3A72C2 #C2463A #B6C23A
monochromatic
#1E3B64 #2C5693 #3A72C2 #6793D2 #97B5E0

Accessibility & contrast

On white

4.81
#3A72C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3A72C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C2#FFFFFF#000000##FFFFFF
##3A72C21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a72c2;
/* rgb */ color: rgb(58, 114, 194);
/* oklch */ color: oklch(55.4% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#809ad5',
    500: '#3a72c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c2;
$custom-light: #809ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c2",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 215.294,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.13809,
    "h": 257.6
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#3A72C2
secondary
#CBB18D
accent
#A14ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A72C2

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

Preview Lab → · Contrast checker → · Palette generator →

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