#3A71CC#3A71CC

#3A71CC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.153 H 259.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A71CC
RGBrgb(58, 113, 204)
HSLhsl(217, 59%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(71.6%, 44.6%, 0%, 20%)
CIE-LABlab(48.34, 12.65, -52.51)
CIE-LCHlch(48.34, 54.01, 283.55°)
OKLaboklab(55.86% -0.0267 -0.1503)
OKLCHoklch(55.86% 0.153 259.9)
XYZxyz(18.5452, 17.0674, 59.4320)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71CC #CC953A
analogous
#3ABACC #3A71CC #4C3ACC
triadic
#3A71CC #CC3A71 #71CC3A
tetradic
#3A71CC #CC3ABA #CC953A #3ACC4C
square
#3A71CC #CC3ABA #CC953A #3ACC4C
split-complementary
#3A71CC #CC4C3A #BACC3A
monochromatic
#1D3C6F #2956A0 #3A71CC #6B94D9 #9BB7E5

Accessibility & contrast

On white

4.76
#3A71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3A71CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71CC#FFFFFF#000000##FFFFFF
##3A71CC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a71cc;
/* rgb */ color: rgb(58, 113, 204);
/* oklch */ color: oklch(55.9% 0.153 259.9);
Tailwind
colors: {
  custom: {
    50: '#8299dc',
    500: '#3a71cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a71cc;
$custom-light: #8299dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71cc",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 217.397,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.15269,
    "h": 259.9
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#3A71CC
secondary
#D1B991
accent
#A746E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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