#3D71D4#3D71D4

#3D71D4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.162 H 261.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3D71D4
RGBrgb(61, 113, 212)
HSLhsl(219, 64%, 54%)
HSVhsv(219, 71%, 83%)
CMYKcmyk(71.2%, 46.7%, 0%, 16.9%)
CIE-LABlab(48.95, 15.99, -56.09)
CIE-LCHlch(48.95, 58.33, 285.91°)
OKLaboklab(56.52% -0.0231 -0.1608)
OKLCHoklch(56.52% 0.162 261.8)
XYZxyz(19.7090, 17.5537, 64.6241)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D4 #D4A03D
analogous
#3DBCD4 #3D71D4 #543DD4
triadic
#3D71D4 #D43D71 #71D43D
tetradic
#3D71D4 #D43DBC #D4A03D #3DD454
square
#3D71D4 #D43DBC #D4A03D #3DD454
split-complementary
#3D71D4 #D4543D #BCD43D
monochromatic
#1B3C7B #2655AD #3D71D4 #6F96DF #A1BAEA

Accessibility & contrast

On white

4.66
#3D71D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3D71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D4#FFFFFF#000000##FFFFFF
##3D71D41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#186ED2
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d71d4;
/* rgb */ color: rgb(61, 113, 212);
/* oklch */ color: oklch(56.5% 0.162 261.8);
Tailwind
colors: {
  custom: {
    50: '#8599e2',
    500: '#3d71d4',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d4;
$custom-light: #8599e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d4",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 219.338,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.16248,
    "h": 261.8
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#3D71D4
secondary
#D7C096
accent
#AE41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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