#3B71D2#3B71D2

#3B71D2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.160 H 261.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3B71D2
RGBrgb(59, 113, 210)
HSLhsl(219, 63%, 53%)
HSVhsv(219, 72%, 82%)
CMYKcmyk(71.9%, 46.2%, 0%, 17.6%)
CIE-LABlab(48.75, 14.98, -55.28)
CIE-LCHlch(48.75, 57.28, 285.16°)
OKLaboklab(56.3% -0.025 -0.1585)
OKLCHoklch(56.3% 0.16 261)
XYZxyz(19.3374, 17.3911, 63.2980)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71D2 #D29C3B
analogous
#3BBDD2 #3B71D2 #503BD2
triadic
#3B71D2 #D23B71 #71D23B
tetradic
#3B71D2 #D23BBD #D29C3B #3BD250
square
#3B71D2 #D23BBD #D29C3B #3BD250
split-complementary
#3B71D2 #D2503B #BDD23B
monochromatic
#1B3C77 #2755A9 #3B71D2 #6D95DD #9FB9E9

Accessibility & contrast

On white

4.69
#3B71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3B71D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71D2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71D2#FFFFFF#000000##FFFFFF
##3B71D21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#1B6DD0
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3b71d2;
/* rgb */ color: rgb(59, 113, 210);
/* oklch */ color: oklch(56.3% 0.160 261.0);
Tailwind
colors: {
  custom: {
    50: '#8399e0',
    500: '#3b71d2',
    950: '#000000',
  },
}
SCSS
$custom: #3b71d2;
$custom-light: #8399e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71d2",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 218.543,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.16042,
    "h": 261
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#3B71D2
secondary
#D5BE94
accent
#AB42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3B71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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