#3A71BE#3A71BE

#3A71BE is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.134 H 257.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A71BE
RGBrgb(58, 113, 190)
HSLhsl(215, 53%, 49%)
HSVhsv(215, 69%, 75%)
CMYKcmyk(69.5%, 40.5%, 0%, 25.5%)
CIE-LABlab(47.53, 7.56, -45.77)
CIE-LCHlch(47.53, 46.39, 279.38°)
OKLaboklab(54.97% -0.0295 -0.1305)
OKLCHoklch(54.97% 0.134 257.3)
XYZxyz(16.9409, 16.4257, 50.9829)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71BE #BE873A
analogous
#3AB3BE #3A71BE #453ABE
triadic
#3A71BE #BE3A71 #71BE3A
tetradic
#3A71BE #BE3AB3 #BE873A #3ABE45
square
#3A71BE #BE3AB3 #BE873A #3ABE45
split-complementary
#3A71BE #BE453A #B3BE3A
monochromatic
#1D3960 #2C558F #3A71BE #6592D0 #94B3DE

Accessibility & contrast

On white

4.90
#3A71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A71BE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71BE#FFFFFF#000000##FFFFFF
##3A71BE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a71be;
/* rgb */ color: rgb(58, 113, 190);
/* oklch */ color: oklch(55.0% 0.134 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f99d2',
    500: '#3a71be',
    950: '#000000',
  },
}
SCSS
$custom: #3a71be;
$custom-light: #7f99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71be",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 215,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.13383,
    "h": 257.3
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#3A71BE
secondary
#CAAF8A
accent
#A04BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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