#3D71CE#3D71CE

#3D71CE is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.154 H 261.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3D71CE
RGBrgb(61, 113, 206)
HSLhsl(218, 60%, 52%)
HSVhsv(218, 70%, 81%)
CMYKcmyk(70.4%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.58, 13.81, -53.27)
CIE-LCHlch(48.58, 55.03, 284.54°)
OKLaboklab(56.12% -0.0241 -0.1525)
OKLCHoklch(56.12% 0.154 261)
XYZxyz(18.9662, 17.2566, 60.7119)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71CE #CE9A3D
analogous
#3DB9CE #3D71CE #523DCE
triadic
#3D71CE #CE3D71 #71CE3D
tetradic
#3D71CE #CE3DB9 #CE9A3D #3DCE52
square
#3D71CE #CE3DB9 #CE9A3D #3DCE52
split-complementary
#3D71CE #CE523D #B9CE3D
monochromatic
#1D3C73 #2956A4 #3D71CE #6E95DA #9FB9E7

Accessibility & contrast

On white

4.72
#3D71CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3D71CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71CE#FFFFFF#000000##FFFFFF
##3D71CE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d71ce;
/* rgb */ color: rgb(61, 113, 206);
/* oklch */ color: oklch(56.1% 0.154 261.0);
Tailwind
colors: {
  custom: {
    50: '#8399dd',
    500: '#3d71ce',
    950: '#000000',
  },
}
SCSS
$custom: #3d71ce;
$custom-light: #8399dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71ce",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 218.483,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.1544,
    "h": 261
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#3D71CE
secondary
#D3BC94
accent
#AA45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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