#3D71D2#3D71D2

#3D71D2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.160 H 261.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3D71D2
RGBrgb(61, 113, 210)
HSLhsl(219, 62%, 53%)
HSVhsv(219, 71%, 82%)
CMYKcmyk(71%, 46.2%, 0%, 17.6%)
CIE-LABlab(48.83, 15.26, -55.15)
CIE-LCHlch(48.83, 57.23, 285.47°)
OKLaboklab(56.38% -0.0235 -0.1581)
OKLCHoklch(56.38% 0.16 261.6)
XYZxyz(19.4583, 17.4534, 63.3036)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D2 #D29E3D
analogous
#3DBCD2 #3D71D2 #533DD2
triadic
#3D71D2 #D23D71 #71D23D
tetradic
#3D71D2 #D23DBC #D29E3D #3DD253
square
#3D71D2 #D23DBC #D29E3D #3DD253
split-complementary
#3D71D2 #D2533D #BCD23D
monochromatic
#1C3C79 #2855AA #3D71D2 #6F95DE #A0BAE9

Accessibility & contrast

On white

4.68
#3D71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3D71D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D2#FFFFFF#000000##FFFFFF
##3D71D21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#1D6ED0
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d71d2;
/* rgb */ color: rgb(61, 113, 210);
/* oklch */ color: oklch(56.4% 0.160 261.6);
Tailwind
colors: {
  custom: {
    50: '#8499e0',
    500: '#3d71d2',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d2;
$custom-light: #8499e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d2",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 219.06,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.15979,
    "h": 261.6
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#3D71D2
secondary
#D6BF95
accent
#AD42E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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