#3D71C3#3D71C3

#3D71C3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.140 H 259.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3D71C3
RGBrgb(61, 113, 195)
HSLhsl(217, 53%, 50%)
HSVhsv(217, 69%, 76%)
CMYKcmyk(68.7%, 42.1%, 0%, 23.5%)
CIE-LABlab(47.93, 9.83, -48.00)
CIE-LCHlch(47.93, 49.00, 281.58°)
OKLaboklab(55.41% -0.0262 -0.137)
OKLCHoklch(55.41% 0.14 259.2)
XYZxyz(17.6764, 16.7407, 53.9189)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71C3 #C38F3D
analogous
#3DB4C3 #3D71C3 #4C3DC3
triadic
#3D71C3 #C33D71 #71C33D
tetradic
#3D71C3 #C33DB4 #C38F3D #3DC34C
square
#3D71C3 #C33DB4 #C38F3D #3DC34C
split-complementary
#3D71C3 #C34C3D #B4C33D
monochromatic
#203B66 #2E5695 #3D71C3 #6C93D1 #9AB5E0

Accessibility & contrast

On white

4.83
#3D71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3D71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71C3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71C3#FFFFFF#000000##FFFFFF
##3D71C31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d71c3;
/* rgb */ color: rgb(61, 113, 195);
/* oklch */ color: oklch(55.4% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#8199d5',
    500: '#3d71c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d71c3;
$custom-light: #8199d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71c3",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 216.716,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.13952,
    "h": 259.2
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#3D71C3
secondary
#CCB590
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3D71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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