#3A71CA#3A71CA

#3A71CA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.150 H 259.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A71CA
RGBrgb(58, 113, 202)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 71%, 79%)
CMYKcmyk(71.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.22, 11.92, -51.56)
CIE-LCHlch(48.22, 52.92, 283.02°)
OKLaboklab(55.73% -0.0271 -0.1475)
OKLCHoklch(55.73% 0.15 259.6)
XYZxyz(18.3069, 16.9721, 58.1768)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71CA #CA933A
analogous
#3AB9CA #3A71CA #4B3ACA
triadic
#3A71CA #CA3A71 #71CA3A
tetradic
#3A71CA #CA3AB9 #CA933A #3ACA4B
square
#3A71CA #CA3AB9 #CA933A #3ACA4B
split-complementary
#3A71CA #CA4B3A #B9CA3A
monochromatic
#1D3B6C #2A569D #3A71CA #6A94D7 #9AB7E4

Accessibility & contrast

On white

4.78
#3A71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A71CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71CA#FFFFFF#000000##FFFFFF
##3A71CA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a71ca;
/* rgb */ color: rgb(58, 113, 202);
/* oklch */ color: oklch(55.7% 0.150 259.6);
Tailwind
colors: {
  custom: {
    50: '#8199db',
    500: '#3a71ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a71ca;
$custom-light: #8199db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71ca",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 217.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.14999,
    "h": 259.6
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#3A71CA
secondary
#D0B790
accent
#A647E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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