#3A71C0#3A71C0

#3A71C0 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.137 H 257.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A71C0
RGBrgb(58, 113, 192)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 75%)
CMYKcmyk(69.8%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.64, 8.28, -46.75)
CIE-LCHlch(47.64, 47.47, 280.05°)
OKLaboklab(55.09% -0.0291 -0.1334)
OKLCHoklch(55.09% 0.137 257.7)
XYZxyz(17.1610, 16.5138, 52.1420)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71C0 #C0893A
analogous
#3AB4C0 #3A71C0 #463AC0
triadic
#3A71C0 #C03A71 #71C03A
tetradic
#3A71C0 #C03AB4 #C0893A #3AC046
square
#3A71C0 #C03AB4 #C0893A #3AC046
split-complementary
#3A71C0 #C0463A #B4C03A
monochromatic
#1E3A62 #2C5591 #3A71C0 #6692D1 #95B4DF

Accessibility & contrast

On white

4.88
#3A71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3A71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71C0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71C0#FFFFFF#000000##FFFFFF
##3A71C01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#366BBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a71c0;
/* rgb */ color: rgb(58, 113, 192);
/* oklch */ color: oklch(55.1% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#8099d3',
    500: '#3a71c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a71c0;
$custom-light: #8099d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71c0",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 215.373,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.13652,
    "h": 257.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#3A71C0
secondary
#CAB18B
accent
#A14BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A71C0

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

Preview Lab → · Contrast checker → · Palette generator →

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