#3D71C0#3D71C0

#3D71C0 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.135 H 258.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3D71C0
RGBrgb(61, 113, 192)
HSLhsl(216, 52%, 50%)
HSVhsv(216, 68%, 75%)
CMYKcmyk(68.2%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.76, 8.75, -46.55)
CIE-LCHlch(47.76, 47.37, 280.65°)
OKLaboklab(55.22% -0.0268 -0.1328)
OKLCHoklch(55.22% 0.135 258.6)
XYZxyz(17.3406, 16.6064, 52.1504)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71C0 #C08C3D
analogous
#3DB3C0 #3D71C0 #4A3DC0
triadic
#3D71C0 #C03D71 #71C03D
tetradic
#3D71C0 #C03DB3 #C08C3D #3DC04A
square
#3D71C0 #C03DB3 #C08C3D #3DC04A
split-complementary
#3D71C0 #C04A3D #B3C03D
monochromatic
#1F3A63 #2E5692 #3D71C0 #6A93D0 #99B5DF

Accessibility & contrast

On white

4.86
#3D71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3D71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71C0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71C0#FFFFFF#000000##FFFFFF
##3D71C01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d71c0;
/* rgb */ color: rgb(61, 113, 192);
/* oklch */ color: oklch(55.2% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#8199d3',
    500: '#3d71c0',
    950: '#000000',
  },
}
SCSS
$custom: #3d71c0;
$custom-light: #8199d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71c0",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 216.183,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.13545,
    "h": 258.6
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#3D71C0
secondary
#CAB38E
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3D71C0

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

Preview Lab → · Contrast checker → · Palette generator →

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