#3A71AB#3A71AB

#3A71AB is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.8% C 0.109 H 251.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A71AB
RGBrgb(58, 113, 171)
HSLhsl(211, 49%, 45%)
HSVhsv(211, 66%, 67%)
CMYKcmyk(66.1%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.51, 0.75, -36.35)
CIE-LCHlch(46.51, 36.36, 271.18°)
OKLaboklab(53.84% -0.0343 -0.103)
OKLCHoklch(53.84% 0.109 251.6)
XYZxyz(14.9980, 15.6486, 40.7503)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71AB #AB743A
analogous
#3AAAAB #3A71AB #3B3AAB
triadic
#3A71AB #AB3A71 #71AB3A
tetradic
#3A71AB #AB3AAA #AB743A #3AAB3B
square
#3A71AB #AB3AAA #AB743A #3AAB3B
split-complementary
#3A71AB #AB3B3A #AAAB3A
monochromatic
#1B3550 #2A537D #3A71AB #5B90C7 #89AFD7

Accessibility & contrast

On white

5.08
#3A71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3A71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71AB#FFFFFF#000000##FFFFFF
##3A71AB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a71ab;
/* rgb */ color: rgb(58, 113, 171);
/* oklch */ color: oklch(53.8% 0.109 251.6);
Tailwind
colors: {
  custom: {
    50: '#7c99c4',
    500: '#3a71ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a71ab;
$custom-light: #7c99c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71ab",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 210.796,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.10853,
    "h": 251.6
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#3A71AB
secondary
#C1A180
accent
#964FD9
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3A71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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