#3D71D1#3D71D1

#3D71D1 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.158 H 261.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3D71D1
RGBrgb(61, 113, 209)
HSLhsl(219, 62%, 53%)
HSVhsv(219, 71%, 82%)
CMYKcmyk(70.8%, 45.9%, 0%, 18%)
CIE-LABlab(48.76, 14.90, -54.68)
CIE-LCHlch(48.76, 56.68, 285.24°)
OKLaboklab(56.32% -0.0236 -0.1567)
OKLCHoklch(56.32% 0.158 261.4)
XYZxyz(19.3341, 17.4038, 62.6496)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D1 #D19D3D
analogous
#3DBBD1 #3D71D1 #533DD1
triadic
#3D71D1 #D13D71 #71D13D
tetradic
#3D71D1 #D13DBB #D19D3D #3DD153
square
#3D71D1 #D13DBB #D19D3D #3DD153
split-complementary
#3D71D1 #D1533D #BBD13D
monochromatic
#1C3C77 #2855A9 #3D71D1 #6E95DD #A0B9E8

Accessibility & contrast

On white

4.69
#3D71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3D71D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D1#FFFFFF#000000##FFFFFF
##3D71D11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7BD5
Deuteranopia (green-blind)
#1F6DCF
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d71d1;
/* rgb */ color: rgb(61, 113, 209);
/* oklch */ color: oklch(56.3% 0.158 261.4);
Tailwind
colors: {
  custom: {
    50: '#8499e0',
    500: '#3d71d1',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d1;
$custom-light: #8499e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d1",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 218.919,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.15844,
    "h": 261.4
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#3D71D1
secondary
#D5BE95
accent
#AC43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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