#3A71CD#3A71CD

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

Color values

HEX#3A71CD
RGBrgb(58, 113, 205)
HSLhsl(218, 60%, 52%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(71.7%, 44.9%, 0%, 19.6%)
CIE-LABlab(48.41, 13.02, -52.98)
CIE-LCHlch(48.41, 54.56, 283.80°)
OKLaboklab(55.93% -0.0265 -0.1517)
OKLCHoklch(55.93% 0.154 260.1)
XYZxyz(18.6655, 17.1156, 60.0657)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71CD #CD963A
analogous
#3ABBCD #3A71CD #4D3ACD
triadic
#3A71CD #CD3A71 #71CD3A
tetradic
#3A71CD #CD3ABB #CD963A #3ACD4D
square
#3A71CD #CD3ABB #CD963A #3ACD4D
split-complementary
#3A71CD #CD4D3A #BBCD3A
monochromatic
#1C3C70 #2956A1 #3A71CD #6B94D9 #9CB7E6

Accessibility & contrast

On white

4.75
#3A71CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3A71CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71CD#FFFFFF#000000##FFFFFF
##3A71CD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427AD0
Deuteranopia (green-blind)
#256DCB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a71cd;
/* rgb */ color: rgb(58, 113, 205);
/* oklch */ color: oklch(55.9% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#8299dd',
    500: '#3a71cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a71cd;
$custom-light: #8299dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71cd",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 217.551,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.15402,
    "h": 260.1
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#3A71CD
secondary
#D2BA91
accent
#A845E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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