#3B71C3#3B71C3

#3B71C3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.140 H 258.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3B71C3
RGBrgb(59, 113, 195)
HSLhsl(216, 54%, 50%)
HSVhsv(216, 70%, 76%)
CMYKcmyk(69.7%, 42.1%, 0%, 23.5%)
CIE-LABlab(47.85, 9.52, -48.13)
CIE-LCHlch(47.85, 49.07, 281.19°)
OKLaboklab(55.32% -0.0277 -0.1374)
OKLCHoklch(55.32% 0.14 258.6)
XYZxyz(17.5555, 16.6784, 53.9132)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71C3 #C38D3B
analogous
#3BB5C3 #3B71C3 #493BC3
triadic
#3B71C3 #C33B71 #71C33B
tetradic
#3B71C3 #C33BB5 #C38D3B #3BC349
square
#3B71C3 #C33BB5 #C38D3B #3BC349
split-complementary
#3B71C3 #C3493B #B5C33B
monochromatic
#1F3B65 #2D5694 #3B71C3 #6993D2 #98B5E0

Accessibility & contrast

On white

4.84
#3B71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3B71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71C3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71C3#FFFFFF#000000##FFFFFF
##3B71C31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#346CC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b71c3;
/* rgb */ color: rgb(59, 113, 195);
/* oklch */ color: oklch(55.3% 0.140 258.6);
Tailwind
colors: {
  custom: {
    50: '#8199d5',
    500: '#3b71c3',
    950: '#000000',
  },
}
SCSS
$custom: #3b71c3;
$custom-light: #8199d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71c3",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 216.176,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.14021,
    "h": 258.6
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#3B71C3
secondary
#CCB38E
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3B71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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