#3A71D0#3A71D0

#3A71D0 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.158 H 260.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A71D0
RGBrgb(58, 113, 208)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 72%, 82%)
CMYKcmyk(72.1%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.59, 14.12, -54.40)
CIE-LCHlch(48.59, 56.20, 284.55°)
OKLaboklab(56.13% -0.026 -0.1559)
OKLCHoklch(56.13% 0.158 260.5)
XYZxyz(19.0311, 17.2618, 61.9912)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71D0 #D0993A
analogous
#3ABCD0 #3A71D0 #4E3AD0
triadic
#3A71D0 #D03A71 #71D03A
tetradic
#3A71D0 #D03ABC #D0993A #3AD04E
square
#3A71D0 #D03ABC #D0993A #3AD04E
split-complementary
#3A71D0 #D04E3A #BCD03A
monochromatic
#1C3C74 #2756A5 #3A71D0 #6B95DC #9DB8E8

Accessibility & contrast

On white

4.72
#3A71D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3A71D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71D0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71D0#FFFFFF#000000##FFFFFF
##3A71D01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407BD4
Deuteranopia (green-blind)
#1F6DCE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a71d0;
/* rgb */ color: rgb(58, 113, 208);
/* oklch */ color: oklch(56.1% 0.158 260.5);
Tailwind
colors: {
  custom: {
    50: '#8399df',
    500: '#3a71d0',
    950: '#000000',
  },
}
SCSS
$custom: #3a71d0;
$custom-light: #8399df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71d0",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 218,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.15805,
    "h": 260.5
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#3A71D0
secondary
#D4BC92
accent
#A943E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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