#3D71AB#3D71AB

#3D71AB is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.107 H 252.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3D71AB
RGBrgb(61, 113, 171)
HSLhsl(212, 47%, 45%)
HSVhsv(212, 64%, 67%)
CMYKcmyk(64.3%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.63, 1.29, -36.15)
CIE-LCHlch(46.63, 36.17, 272.05°)
OKLaboklab(53.97% -0.032 -0.1023)
OKLCHoklch(53.97% 0.107 252.7)
XYZxyz(15.1776, 15.7412, 40.7587)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71AB #AB773D
analogous
#3DA8AB #3D71AB #403DAB
triadic
#3D71AB #AB3D71 #71AB3D
tetradic
#3D71AB #AB3DA8 #AB773D #3DAB40
square
#3D71AB #AB3DA8 #AB773D #3DAB40
split-complementary
#3D71AB #AB403D #A8AB3D
monochromatic
#1D3551 #2D537E #3D71AB #5F90C6 #8CAFD6

Accessibility & contrast

On white

5.06
#3D71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3D71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71AB#FFFFFF#000000##FFFFFF
##3D71AB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d71ab;
/* rgb */ color: rgb(61, 113, 171);
/* oklch */ color: oklch(54.0% 0.107 252.7);
Tailwind
colors: {
  custom: {
    50: '#7d99c4',
    500: '#3d71ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d71ab;
$custom-light: #7d99c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71ab",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 211.636,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.10722,
    "h": 252.7
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#3D71AB
secondary
#C1A483
accent
#9851D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #3D71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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