#3A71BF#3A71BF

#3A71BF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.0% C 0.135 H 257.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A71BF
RGBrgb(58, 113, 191)
HSLhsl(215, 53%, 49%)
HSVhsv(215, 70%, 75%)
CMYKcmyk(69.6%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.58, 7.92, -46.26)
CIE-LCHlch(47.58, 46.93, 279.72°)
OKLaboklab(55.03% -0.0293 -0.132)
OKLCHoklch(55.03% 0.135 257.5)
XYZxyz(17.0506, 16.4696, 51.5605)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71BF #BF883A
analogous
#3AB4BF #3A71BF #463ABF
triadic
#3A71BF #BF3A71 #71BF3A
tetradic
#3A71BF #BF3AB4 #BF883A #3ABF46
square
#3A71BF #BF3AB4 #BF883A #3ABF46
split-complementary
#3A71BF #BF463A #B4BF3A
monochromatic
#1D3961 #2C5590 #3A71BF #6692D0 #95B3DF

Accessibility & contrast

On white

4.89
#3A71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3A71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71BF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71BF#FFFFFF#000000##FFFFFF
##3A71BF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a71bf;
/* rgb */ color: rgb(58, 113, 191);
/* oklch */ color: oklch(55.0% 0.135 257.5);
Tailwind
colors: {
  custom: {
    50: '#7f99d3',
    500: '#3a71bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a71bf;
$custom-light: #7f99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71bf",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 215.188,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.13518,
    "h": 257.5
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#3A71BF
secondary
#CAB08B
accent
#A14BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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