#3A72C1#3A72C1

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

Color values

HEX#3A72C1
RGBrgb(58, 114, 193)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 76%)
CMYKcmyk(69.9%, 40.9%, 0%, 24.3%)
CIE-LABlab(47.98, 8.02, -46.77)
CIE-LCHlch(47.98, 47.46, 279.73°)
OKLaboklab(55.38% -0.0298 -0.1335)
OKLCHoklch(55.38% 0.137 257.4)
XYZxyz(17.3844, 16.7826, 52.7649)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C1 #C1893A
analogous
#3AB6C1 #3A72C1 #463AC1
triadic
#3A72C1 #C13A72 #72C13A
tetradic
#3A72C1 #C13AB6 #C1893A #3AC146
square
#3A72C1 #C13AB6 #C1893A #3AC146
split-complementary
#3A72C1 #C1463A #B6C13A
monochromatic
#1E3A63 #2C5692 #3A72C1 #6793D1 #96B4DF

Accessibility & contrast

On white

4.82
#3A72C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3A72C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C1#FFFFFF#000000##FFFFFF
##3A72C11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C4
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a72c1;
/* rgb */ color: rgb(58, 114, 193);
/* oklch */ color: oklch(55.4% 0.137 257.4);
Tailwind
colors: {
  custom: {
    50: '#809ad4',
    500: '#3a72c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c1;
$custom-light: #809ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c1",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 193
  },
  "hsl": {
    "h": 215.111,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.13675,
    "h": 257.4
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#3A72C1
secondary
#CBB18C
accent
#A04BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A72C1

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

Preview Lab → · Contrast checker → · Palette generator →

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