#3A71BB#3A71BB

#3A71BB is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.8% C 0.130 H 256.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A71BB
RGBrgb(58, 113, 187)
HSLhsl(214, 53%, 48%)
HSVhsv(214, 69%, 73%)
CMYKcmyk(69%, 39.6%, 0%, 26.7%)
CIE-LABlab(47.36, 6.47, -44.31)
CIE-LCHlch(47.36, 44.78, 278.31°)
OKLaboklab(54.78% -0.0302 -0.1262)
OKLCHoklch(54.78% 0.13 256.6)
XYZxyz(16.6164, 16.2959, 49.2738)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71BB #BB843A
analogous
#3AB1BB #3A71BB #443ABB
triadic
#3A71BB #BB3A71 #71BB3A
tetradic
#3A71BB #BB3AB1 #BB843A #3ABB44
square
#3A71BB #BB3AB1 #BB843A #3ABB44
split-complementary
#3A71BB #BB443A #B1BB3A
monochromatic
#1D395E #2C558C #3A71BB #6391CF #92B2DD

Accessibility & contrast

On white

4.93
#3A71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3A71BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71BB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71BB#FFFFFF#000000##FFFFFF
##3A71BB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#3B6BB9
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a71bb;
/* rgb */ color: rgb(58, 113, 187);
/* oklch */ color: oklch(54.8% 0.130 256.6);
Tailwind
colors: {
  custom: {
    50: '#7f99d0',
    500: '#3a71bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a71bb;
$custom-light: #7f99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71bb",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 214.419,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.1298,
    "h": 256.6
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#3A71BB
secondary
#C8AD88
accent
#9F4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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