#3D71D8#3D71D8

#3D71D8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.168 H 262.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3D71D8
RGBrgb(61, 113, 216)
HSLhsl(220, 67%, 54%)
HSVhsv(220, 72%, 85%)
CMYKcmyk(71.8%, 47.7%, 0%, 15.3%)
CIE-LABlab(49.20, 17.44, -57.96)
CIE-LCHlch(49.20, 60.53, 286.75°)
OKLaboklab(56.79% -0.0225 -0.1663)
OKLCHoklch(56.79% 0.168 262.3)
XYZxyz(20.2198, 17.7581, 67.3145)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D8 #D8A43D
analogous
#3DBFD8 #3D71D8 #573DD8
triadic
#3D71D8 #D83D71 #71D83D
tetradic
#3D71D8 #D83DBF #D8A43D #3DD857
square
#3D71D8 #D83DBF #D8A43D #3DD857
split-complementary
#3D71D8 #D8573D #BFD83D
monochromatic
#1A3C81 #2454B4 #3D71D8 #7096E2 #A3BCEC

Accessibility & contrast

On white

4.61
#3D71D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3D71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D8#FFFFFF#000000##FFFFFF
##3D71D81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#096ED6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d71d8;
/* rgb */ color: rgb(61, 113, 216);
/* oklch */ color: oklch(56.8% 0.168 262.3);
Tailwind
colors: {
  custom: {
    50: '#8599e5',
    500: '#3d71d8',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d8;
$custom-light: #8599e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d8",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 219.871,
    "s": 66.524,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.16783,
    "h": 262.3
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#3D71D8
secondary
#D9C398
accent
#B03EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3D71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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