#3D71D6#3D71D6

#3D71D6 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.165 H 262.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3D71D6
RGBrgb(61, 113, 214)
HSLhsl(220, 65%, 54%)
HSVhsv(220, 71%, 84%)
CMYKcmyk(71.5%, 47.2%, 0%, 16.1%)
CIE-LABlab(49.08, 16.71, -57.03)
CIE-LCHlch(49.08, 59.43, 286.33°)
OKLaboklab(56.66% -0.0228 -0.1636)
OKLCHoklch(56.66% 0.165 262.1)
XYZxyz(19.9629, 17.6553, 65.9610)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71D6 #D6A23D
analogous
#3DBDD6 #3D71D6 #563DD6
triadic
#3D71D6 #D63D71 #71D63D
tetradic
#3D71D6 #D63DBD #D6A23D #3DD656
square
#3D71D6 #D63DBD #D6A23D #3DD656
split-complementary
#3D71D6 #D6563D #BDD63D
monochromatic
#1B3C7E #2555B1 #3D71D6 #7096E1 #A2BBEB

Accessibility & contrast

On white

4.63
#3D71D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3D71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71D6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71D6#FFFFFF#000000##FFFFFF
##3D71D61.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CDA
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d71d6;
/* rgb */ color: rgb(61, 113, 214);
/* oklch */ color: oklch(56.7% 0.165 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599e3',
    500: '#3d71d6',
    950: '#000000',
  },
}
SCSS
$custom: #3d71d6;
$custom-light: #8599e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71d6",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 219.608,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.16516,
    "h": 262.1
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#3D71D6
secondary
#D8C297
accent
#AF40E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D15
muted
#7D7E84

Preview Lab

Preview with #3D71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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