#3D71D9#3D71D9

#3D71D9 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.169 H 262.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3D71D9
RGBrgb(61, 113, 217)
HSLhsl(220, 67%, 55%)
HSVhsv(220, 72%, 85%)
CMYKcmyk(71.9%, 47.9%, 0%, 14.9%)
CIE-LABlab(49.26, 17.80, -58.43)
CIE-LCHlch(49.26, 61.08, 286.95°)
OKLaboklab(56.86% -0.0224 -0.1677)
OKLCHoklch(56.86% 0.169 262.4)
XYZxyz(20.3495, 17.8099, 67.9974)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D9 #D9A53D
analogous
#3DBFD9 #3D71D9 #573DD9
triadic
#3D71D9 #D93D71 #71D93D
tetradic
#3D71D9 #D93DBF #D9A53D #3DD957
square
#3D71D9 #D93DBF #D9A53D #3DD957
split-complementary
#3D71D9 #D9573D #BFD93D
monochromatic
#193C82 #2454B5 #3D71D9 #7096E3 #A3BCED

Accessibility & contrast

On white

4.60
#3D71D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3D71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D9#FFFFFF#000000##FFFFFF
##3D71D91.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#046ED7
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d71d9;
/* rgb */ color: rgb(61, 113, 217);
/* oklch */ color: oklch(56.9% 0.169 262.4);
Tailwind
colors: {
  custom: {
    50: '#8699e5',
    500: '#3d71d9',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d9;
$custom-light: #8699e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d9",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 220,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.16917,
    "h": 262.4
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#3D71D9
secondary
#DAC498
accent
#B13EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3D71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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