#3A72B2#3A72B2

#3A72B2 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.117 H 253.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A72B2
RGBrgb(58, 114, 178)
HSLhsl(212, 51%, 46%)
HSVhsv(212, 67%, 70%)
CMYKcmyk(67.4%, 36%, 0%, 30.2%)
CIE-LABlab(47.17, 2.62, -39.40)
CIE-LCHlch(47.17, 39.48, 273.81°)
OKLaboklab(54.47% -0.0334 -0.1118)
OKLCHoklch(54.47% 0.117 253.4)
XYZxyz(15.7952, 16.1469, 44.3951)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72B2 #B27A3A
analogous
#3AAEB2 #3A72B2 #3E3AB2
triadic
#3A72B2 #B23A72 #72B23A
tetradic
#3A72B2 #B23AAE #B27A3A #3AB23E
square
#3A72B2 #B23AAE #B27A3A #3AB23E
split-complementary
#3A72B2 #B23E3A #AEB23A
monochromatic
#1C3756 #2B5484 #3A72B2 #5F91CB #8DB1DA

Accessibility & contrast

On white

4.96
#3A72B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A72B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72B2#FFFFFF#000000##FFFFFF
##3A72B21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a72b2;
/* rgb */ color: rgb(58, 114, 178);
/* oklch */ color: oklch(54.5% 0.117 253.4);
Tailwind
colors: {
  custom: {
    50: '#7d9ac9',
    500: '#3a72b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a72b2;
$custom-light: #7d9ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72b2",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 212,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.11672,
    "h": 253.4
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#3A72B2
secondary
#C4A683
accent
#994DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A72B2

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

Preview Lab → · Contrast checker → · Palette generator →

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