#3A71AF#3A71AF

#3A71AF is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.114 H 253.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3A71AF
RGBrgb(58, 113, 175)
HSLhsl(212, 50%, 46%)
HSVhsv(212, 67%, 69%)
CMYKcmyk(66.9%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.72, 2.17, -38.36)
CIE-LCHlch(46.72, 38.43, 273.24°)
OKLaboklab(54.07% -0.0332 -0.1088)
OKLCHoklch(54.07% 0.114 253)
XYZxyz(15.3851, 15.8034, 42.7887)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71AF #AF783A
analogous
#3AABAF #3A71AF #3D3AAF
triadic
#3A71AF #AF3A71 #71AF3A
tetradic
#3A71AF #AF3AAB #AF783A #3AAF3D
square
#3A71AF #AF3AAB #AF783A #3AAF3D
split-complementary
#3A71AF #AF3D3A #ABAF3A
monochromatic
#1C3653 #2B5381 #3A71AF #5D90C9 #8BAFD9

Accessibility & contrast

On white

5.05
#3A71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3A71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71AF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71AF#FFFFFF#000000##FFFFFF
##3A71AF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a71af;
/* rgb */ color: rgb(58, 113, 175);
/* oklch */ color: oklch(54.1% 0.114 253.0);
Tailwind
colors: {
  custom: {
    50: '#7d99c7',
    500: '#3a71af',
    950: '#000000',
  },
}
SCSS
$custom: #3a71af;
$custom-light: #7d99c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71af",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 211.795,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.11379,
    "h": 253
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#3A71AF
secondary
#C3A482
accent
#984EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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