#3B71D1#3B71D1

#3B71D1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.159 H 260.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3B71D1
RGBrgb(59, 113, 209)
HSLhsl(218, 62%, 53%)
HSVhsv(218, 72%, 82%)
CMYKcmyk(71.8%, 45.9%, 0%, 18%)
CIE-LABlab(48.69, 14.62, -54.81)
CIE-LCHlch(48.69, 56.73, 284.93°)
OKLaboklab(56.24% -0.0251 -0.1571)
OKLCHoklch(56.24% 0.159 260.9)
XYZxyz(19.2133, 17.3414, 62.6439)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71D1 #D19B3B
analogous
#3BBCD1 #3B71D1 #503BD1
triadic
#3B71D1 #D13B71 #71D13B
tetradic
#3B71D1 #D13BBC #D19B3B #3BD150
square
#3B71D1 #D13BBC #D19B3B #3BD150
split-complementary
#3B71D1 #D1503B #BCD13B
monochromatic
#1C3C76 #2755A7 #3B71D1 #6D95DD #9EB9E8

Accessibility & contrast

On white

4.70
#3B71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3B71D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71D1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71D1#FFFFFF#000000##FFFFFF
##3B71D11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b71d1;
/* rgb */ color: rgb(59, 113, 209);
/* oklch */ color: oklch(56.2% 0.159 260.9);
Tailwind
colors: {
  custom: {
    50: '#8399e0',
    500: '#3b71d1',
    950: '#000000',
  },
}
SCSS
$custom: #3b71d1;
$custom-light: #8399e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71d1",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 218.4,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.15908,
    "h": 260.9
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#3B71D1
secondary
#D4BD93
accent
#AB43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3B71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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