#3A71C3#3A71C3

#3A71C3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.141 H 258.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A71C3
RGBrgb(58, 113, 195)
HSLhsl(216, 54%, 50%)
HSVhsv(216, 70%, 76%)
CMYKcmyk(70.3%, 42.1%, 0%, 23.5%)
CIE-LABlab(47.81, 9.37, -48.20)
CIE-LCHlch(47.81, 49.10, 281.00°)
OKLaboklab(55.28% -0.0284 -0.1377)
OKLCHoklch(55.28% 0.141 258.3)
XYZxyz(17.4968, 16.6481, 53.9105)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71C3 #C38C3A
analogous
#3AB6C3 #3A71C3 #473AC3
triadic
#3A71C3 #C33A71 #71C33A
tetradic
#3A71C3 #C33AB6 #C38C3A #3AC347
square
#3A71C3 #C33AB6 #C38C3A #3AC347
split-complementary
#3A71C3 #C3473A #B6C33A
monochromatic
#1E3A65 #2C5694 #3A71C3 #6893D2 #97B5E0

Accessibility & contrast

On white

4.85
#3A71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71C3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71C3#FFFFFF#000000##FFFFFF
##3A71C31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#336CC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a71c3;
/* rgb */ color: rgb(58, 113, 195);
/* oklch */ color: oklch(55.3% 0.141 258.3);
Tailwind
colors: {
  custom: {
    50: '#8099d5',
    500: '#3a71c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a71c3;
$custom-light: #8099d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71c3",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 215.912,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.14057,
    "h": 258.3
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#3A71C3
secondary
#CCB38D
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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