#3D71C4#3D71C4

#3D71C4 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.141 H 259.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3D71C4
RGBrgb(61, 113, 196)
HSLhsl(217, 53%, 50%)
HSVhsv(217, 69%, 77%)
CMYKcmyk(68.9%, 42.3%, 0%, 23.1%)
CIE-LABlab(47.99, 10.19, -48.49)
CIE-LCHlch(47.99, 49.55, 281.87°)
OKLaboklab(55.47% -0.026 -0.1384)
OKLCHoklch(55.47% 0.141 259.4)
XYZxyz(17.7898, 16.7860, 54.5163)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71C4 #C4903D
analogous
#3DB4C4 #3D71C4 #4C3DC4
triadic
#3D71C4 #C43D71 #71C43D
tetradic
#3D71C4 #C43DB4 #C4903D #3DC44C
square
#3D71C4 #C43DB4 #C4903D #3DC44C
split-complementary
#3D71C4 #C44C3D #B4C43D
monochromatic
#1F3B67 #2E5696 #3D71C4 #6C93D2 #9BB6E1

Accessibility & contrast

On white

4.82
#3D71C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3D71C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71C4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71C4#FFFFFF#000000##FFFFFF
##3D71C41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d71c4;
/* rgb */ color: rgb(61, 113, 196);
/* oklch */ color: oklch(55.5% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#8299d6',
    500: '#3d71c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d71c4;
$custom-light: #8299d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71c4",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 216.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55468,
    "c": 0.14087,
    "h": 259.4
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#3D71C4
secondary
#CDB590
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3D71C4

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

Preview Lab → · Contrast checker → · Palette generator →

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