#3D71D5#3D71D5

#3D71D5 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.164 H 261.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3D71D5
RGBrgb(61, 113, 213)
HSLhsl(219, 64%, 54%)
HSVhsv(219, 71%, 84%)
CMYKcmyk(71.4%, 46.9%, 0%, 16.5%)
CIE-LABlab(49.01, 16.35, -56.56)
CIE-LCHlch(49.01, 58.88, 286.12°)
OKLaboklab(56.59% -0.023 -0.1622)
OKLCHoklch(56.59% 0.164 261.9)
XYZxyz(19.8355, 17.6043, 65.2905)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D5 #D5A13D
analogous
#3DBDD5 #3D71D5 #553DD5
triadic
#3D71D5 #D53D71 #71D53D
tetradic
#3D71D5 #D53DBD #D5A13D #3DD555
square
#3D71D5 #D53DBD #D5A13D #3DD555
split-complementary
#3D71D5 #D5553D #BDD53D
monochromatic
#1B3C7D #2655AF #3D71D5 #6F96E0 #A2BBEB

Accessibility & contrast

On white

4.64
#3D71D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3D71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D5#FFFFFF#000000##FFFFFF
##3D71D51.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#156ED3
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d71d5;
/* rgb */ color: rgb(61, 113, 213);
/* oklch */ color: oklch(56.6% 0.164 261.9);
Tailwind
colors: {
  custom: {
    50: '#8599e2',
    500: '#3d71d5',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d5;
$custom-light: #8599e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d5",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 219.474,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.16382,
    "h": 261.9
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#3D71D5
secondary
#D7C196
accent
#AE40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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