#3A71C1#3A71C1

#3A71C1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.138 H 257.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A71C1
RGBrgb(58, 113, 193)
HSLhsl(216, 54%, 49%)
HSVhsv(216, 70%, 76%)
CMYKcmyk(69.9%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.70, 8.65, -47.23)
CIE-LCHlch(47.70, 48.02, 280.37°)
OKLaboklab(55.15% -0.0289 -0.1348)
OKLCHoklch(55.15% 0.138 257.9)
XYZxyz(17.2722, 16.5582, 52.7275)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71C1 #C18A3A
analogous
#3AB5C1 #3A71C1 #473AC1
triadic
#3A71C1 #C13A71 #71C13A
tetradic
#3A71C1 #C13AB5 #C18A3A #3AC147
square
#3A71C1 #C13AB5 #C18A3A #3AC147
split-complementary
#3A71C1 #C1473A #B5C13A
monochromatic
#1E3A63 #2C5592 #3A71C1 #6792D1 #96B4DF

Accessibility & contrast

On white

4.87
#3A71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3A71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71C1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71C1#FFFFFF#000000##FFFFFF
##3A71C11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a71c1;
/* rgb */ color: rgb(58, 113, 193);
/* oklch */ color: oklch(55.2% 0.138 257.9);
Tailwind
colors: {
  custom: {
    50: '#8099d4',
    500: '#3a71c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a71c1;
$custom-light: #8099d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71c1",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 215.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.13787,
    "h": 257.9
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#3A71C1
secondary
#CBB18C
accent
#A14BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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