#3D71C2#3D71C2

#3D71C2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.138 H 259.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3D71C2
RGBrgb(61, 113, 194)
HSLhsl(217, 52%, 50%)
HSVhsv(217, 69%, 76%)
CMYKcmyk(68.6%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.87, 9.47, -47.52)
CIE-LCHlch(47.87, 48.45, 281.27°)
OKLaboklab(55.34% -0.0264 -0.1356)
OKLCHoklch(55.34% 0.138 259)
XYZxyz(17.5637, 16.6956, 53.3254)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71C2 #C28E3D
analogous
#3DB4C2 #3D71C2 #4B3DC2
triadic
#3D71C2 #C23D71 #71C23D
tetradic
#3D71C2 #C23DB4 #C28E3D #3DC24B
square
#3D71C2 #C23DB4 #C28E3D #3DC24B
split-complementary
#3D71C2 #C24B3D #B4C23D
monochromatic
#203B65 #2E5693 #3D71C2 #6C93D1 #9AB5DF

Accessibility & contrast

On white

4.84
#3D71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3D71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71C2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71C2#FFFFFF#000000##FFFFFF
##3D71C21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d71c2;
/* rgb */ color: rgb(61, 113, 194);
/* oklch */ color: oklch(55.3% 0.138 259.0);
Tailwind
colors: {
  custom: {
    50: '#8199d5',
    500: '#3d71c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d71c2;
$custom-light: #8199d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71c2",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 216.541,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.13816,
    "h": 259
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#3D71C2
secondary
#CBB490
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3D71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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