#3D71CB#3D71CB

#3D71CB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.150 H 260.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3D71CB
RGBrgb(61, 113, 203)
HSLhsl(218, 58%, 52%)
HSVhsv(218, 70%, 80%)
CMYKcmyk(70%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.40, 12.72, -51.84)
CIE-LCHlch(48.40, 53.38, 283.79°)
OKLaboklab(55.92% -0.0246 -0.1483)
OKLCHoklch(55.92% 0.15 260.6)
XYZxyz(18.6052, 17.1122, 58.8108)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71CB #CB973D
analogous
#3DB8CB #3D71CB #503DCB
triadic
#3D71CB #CB3D71 #71CB3D
tetradic
#3D71CB #CB3DB8 #CB973D #3DCB50
square
#3D71CB #CB3DB8 #CB973D #3DCB50
split-complementary
#3D71CB #CB503D #B8CB3D
monochromatic
#1E3C70 #2B56A0 #3D71CB #6D94D8 #9EB8E5

Accessibility & contrast

On white

4.75
#3D71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3D71CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71CB#FFFFFF#000000##FFFFFF
##3D71CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d71cb;
/* rgb */ color: rgb(61, 113, 203);
/* oklch */ color: oklch(55.9% 0.150 260.6);
Tailwind
colors: {
  custom: {
    50: '#8399db',
    500: '#3d71cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d71cb;
$custom-light: #8399db;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71cb",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 218.028,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.15034,
    "h": 260.6
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#3D71CB
secondary
#D1BA93
accent
#A947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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