#3A71B7#3A71B7

#3A71B7 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.124 H 255.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A71B7
RGBrgb(58, 113, 183)
HSLhsl(214, 52%, 47%)
HSVhsv(214, 68%, 72%)
CMYKcmyk(68.3%, 38.3%, 0%, 28.2%)
CIE-LABlab(47.14, 5.03, -42.34)
CIE-LCHlch(47.14, 42.64, 276.78°)
OKLaboklab(54.54% -0.0311 -0.1205)
OKLCHoklch(54.54% 0.124 255.5)
XYZxyz(16.1942, 16.1270, 47.0499)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71B7 #B7803A
analogous
#3AB0B7 #3A71B7 #423AB7
triadic
#3A71B7 #B73A71 #71B73A
tetradic
#3A71B7 #B73AB0 #B7803A #3AB742
square
#3A71B7 #B73AB0 #B7803A #3AB742
split-complementary
#3A71B7 #B7423A #B0B73A
monochromatic
#1D385A #2B5489 #3A71B7 #6191CD #90B1DC

Accessibility & contrast

On white

4.97
#3A71B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A71B7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71B7#FFFFFF#000000##FFFFFF
##3A71B71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#3F6AB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a71b7;
/* rgb */ color: rgb(58, 113, 183);
/* oklch */ color: oklch(54.5% 0.124 255.5);
Tailwind
colors: {
  custom: {
    50: '#7e99cd',
    500: '#3a71b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a71b7;
$custom-light: #7e99cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71b7",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 213.6,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.12443,
    "h": 255.5
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#3A71B7
secondary
#C7AA86
accent
#9C4CDB
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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