#3A71BA#3A71BA

#3A71BA is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.128 H 256.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A71BA
RGBrgb(58, 113, 186)
HSLhsl(214, 52%, 48%)
HSVhsv(214, 69%, 73%)
CMYKcmyk(68.8%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.31, 6.11, -43.82)
CIE-LCHlch(47.31, 44.24, 277.94°)
OKLaboklab(54.72% -0.0304 -0.1248)
OKLCHoklch(54.72% 0.128 256.3)
XYZxyz(16.5098, 16.2533, 48.7120)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71BA #BA833A
analogous
#3AB1BA #3A71BA #433ABA
triadic
#3A71BA #BA3A71 #71BA3A
tetradic
#3A71BA #BA3AB1 #BA833A #3ABA43
square
#3A71BA #BA3AB1 #BA833A #3ABA43
split-complementary
#3A71BA #BA433A #B1BA3A
monochromatic
#1D385D #2B558B #3A71BA #6391CE #92B2DD

Accessibility & contrast

On white

4.94
#3A71BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A71BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71BA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71BA#FFFFFF#000000##FFFFFF
##3A71BA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a71ba;
/* rgb */ color: rgb(58, 113, 186);
/* oklch */ color: oklch(54.7% 0.128 256.3);
Tailwind
colors: {
  custom: {
    50: '#7e99cf',
    500: '#3a71ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a71ba;
$custom-light: #7e99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71ba",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 214.219,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.12845,
    "h": 256.3
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#3A71BA
secondary
#C8AC88
accent
#9E4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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