#3A71DB#3A71DB

#3A71DB is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.173 H 261.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3A71DB
RGBrgb(58, 113, 219)
HSLhsl(220, 69%, 54%)
HSVhsv(220, 74%, 86%)
CMYKcmyk(73.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.28, 18.14, -59.54)
CIE-LCHlch(49.28, 62.24, 286.95°)
OKLaboklab(56.88% -0.0243 -0.171)
OKLCHoklch(56.88% 0.173 261.9)
XYZxyz(20.4316, 17.8220, 69.3673)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71DB #DBA43A
analogous
#3AC2DB #3A71DB #543ADB
triadic
#3A71DB #DB3A71 #71DB3A
tetradic
#3A71DB #DB3AC2 #DBA43A #3ADB54
square
#3A71DB #DB3AC2 #DBA43A #3ADB54
split-complementary
#3A71DB #DB543A #C2DB3A
monochromatic
#183C83 #2154B6 #3A71DB #6E96E4 #A1BCEE

Accessibility & contrast

On white

4.60
#3A71DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3A71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71DB#FFFFFF#000000##FFFFFF
##3A71DB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a71db;
/* rgb */ color: rgb(58, 113, 219);
/* oklch */ color: oklch(56.9% 0.173 261.9);
Tailwind
colors: {
  custom: {
    50: '#8599e7',
    500: '#3a71db',
    950: '#000000',
  },
}
SCSS
$custom: #3a71db;
$custom-light: #8599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71db",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 219.503,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.17273,
    "h": 261.9
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#3A71DB
secondary
#DBC396
accent
#B03CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3A71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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