#3D71BC#3D71BC

#3D71BC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.130 H 257.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3D71BC
RGBrgb(61, 113, 188)
HSLhsl(215, 51%, 49%)
HSVhsv(215, 68%, 74%)
CMYKcmyk(67.6%, 39.9%, 0%, 26.3%)
CIE-LABlab(47.54, 7.32, -44.60)
CIE-LCHlch(47.54, 45.20, 279.32°)
OKLaboklab(54.97% -0.0277 -0.127)
OKLCHoklch(54.97% 0.13 257.7)
XYZxyz(16.9034, 16.4315, 49.8480)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71BC #BC883D
analogous
#3DB1BC #3D71BC #493DBC
triadic
#3D71BC #BC3D71 #71BC3D
tetradic
#3D71BC #BC3DB1 #BC883D #3DBC49
square
#3D71BC #BC3DB1 #BC883D #3DBC49
split-complementary
#3D71BC #BC493D #B1BC3D
monochromatic
#1F3960 #2E558E #3D71BC #6892CE #96B3DD

Accessibility & contrast

On white

4.90
#3D71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3D71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71BC#FFFFFF#000000##FFFFFF
##3D71BC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d71bc;
/* rgb */ color: rgb(61, 113, 188);
/* oklch */ color: oklch(55.0% 0.130 257.7);
Tailwind
colors: {
  custom: {
    50: '#8099d0',
    500: '#3d71bc',
    950: '#000000',
  },
}
SCSS
$custom: #3d71bc;
$custom-light: #8099d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71bc",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 215.433,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.13003,
    "h": 257.7
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#3D71BC
secondary
#C9B08C
accent
#A14DDA
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3D71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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