#3B71C5#3B71C5

#3B71C5 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.143 H 259.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3B71C5
RGBrgb(59, 113, 197)
HSLhsl(217, 54%, 50%)
HSVhsv(217, 70%, 77%)
CMYKcmyk(70.1%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.97, 10.25, -49.10)
CIE-LCHlch(47.97, 50.16, 281.79°)
OKLaboklab(55.45% -0.0273 -0.1403)
OKLCHoklch(55.45% 0.143 259)
XYZxyz(17.7832, 16.7694, 55.1121)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71C5 #C58F3B
analogous
#3BB6C5 #3B71C5 #4A3BC5
triadic
#3B71C5 #C53B71 #71C53B
tetradic
#3B71C5 #C53BB6 #C58F3B #3BC54A
square
#3B71C5 #C53BB6 #C58F3B #3BC54A
split-complementary
#3B71C5 #C54A3B #B6C53B
monochromatic
#1F3B67 #2C5696 #3B71C5 #6A93D3 #99B5E1

Accessibility & contrast

On white

4.82
#3B71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B71C5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71C5#FFFFFF#000000##FFFFFF
##3B71C51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b71c5;
/* rgb */ color: rgb(59, 113, 197);
/* oklch */ color: oklch(55.4% 0.143 259.0);
Tailwind
colors: {
  custom: {
    50: '#8199d7',
    500: '#3b71c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b71c5;
$custom-light: #8199d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71c5",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 216.522,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.14292,
    "h": 259
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#3B71C5
secondary
#CDB58F
accent
#A44ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3B71C5

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

Preview Lab → · Contrast checker → · Palette generator →

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