#3A71D9#3A71D9

#3A71D9 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.170 H 261.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A71D9
RGBrgb(58, 113, 217)
HSLhsl(219, 68%, 54%)
HSVhsv(219, 73%, 85%)
CMYKcmyk(73.3%, 47.9%, 0%, 14.9%)
CIE-LABlab(49.15, 17.41, -58.61)
CIE-LCHlch(49.15, 61.15, 286.54°)
OKLaboklab(56.74% -0.0246 -0.1683)
OKLCHoklch(56.74% 0.17 261.7)
XYZxyz(20.1699, 17.7173, 67.9890)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71D9 #D9A23A
analogous
#3AC1D9 #3A71D9 #533AD9
triadic
#3A71D9 #D93A71 #71D93A
tetradic
#3A71D9 #D93AC1 #D9A23A #3AD953
square
#3A71D9 #D93AC1 #D9A23A #3AD953
split-complementary
#3A71D9 #D9533A #C1D93A
monochromatic
#193C80 #2355B3 #3A71D9 #6D96E3 #A1BBED

Accessibility & contrast

On white

4.62
#3A71D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3A71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71D9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71D9#FFFFFF#000000##FFFFFF
##3A71D91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a71d9;
/* rgb */ color: rgb(58, 113, 217);
/* oklch */ color: oklch(56.7% 0.170 261.7);
Tailwind
colors: {
  custom: {
    50: '#8499e5',
    500: '#3a71d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a71d9;
$custom-light: #8499e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71d9",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 219.245,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.17007,
    "h": 261.7
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#3A71D9
secondary
#D9C295
accent
#AF3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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