#3D71CC#3D71CC

#3D71CC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.152 H 260.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3D71CC
RGBrgb(61, 113, 204)
HSLhsl(218, 58%, 52%)
HSVhsv(218, 70%, 80%)
CMYKcmyk(70.1%, 44.6%, 0%, 20%)
CIE-LABlab(48.46, 13.09, -52.32)
CIE-LCHlch(48.46, 53.93, 284.04°)
OKLaboklab(55.99% -0.0245 -0.1497)
OKLCHoklch(55.99% 0.152 260.7)
XYZxyz(18.7248, 17.1600, 59.4404)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71CC #CC983D
analogous
#3DB8CC #3D71CC #513DCC
triadic
#3D71CC #CC3D71 #71CC3D
tetradic
#3D71CC #CC3DB8 #CC983D #3DCC51
square
#3D71CC #CC3DB8 #CC983D #3DCC51
split-complementary
#3D71CC #CC513D #B8CC3D
monochromatic
#1E3C71 #2A56A1 #3D71CC #6D94D9 #9EB8E5

Accessibility & contrast

On white

4.74
#3D71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3D71CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71CC#FFFFFF#000000##FFFFFF
##3D71CC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d71cc;
/* rgb */ color: rgb(61, 113, 204);
/* oklch */ color: oklch(56.0% 0.152 260.7);
Tailwind
colors: {
  custom: {
    50: '#8399dc',
    500: '#3d71cc',
    950: '#000000',
  },
}
SCSS
$custom: #3d71cc;
$custom-light: #8399dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71cc",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 218.182,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.1517,
    "h": 260.7
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#3D71CC
secondary
#D2BB93
accent
#A946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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