#3B71BF#3B71BF

#3B71BF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.135 H 257.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3B71BF
RGBrgb(59, 113, 191)
HSLhsl(215, 53%, 49%)
HSVhsv(215, 69%, 75%)
CMYKcmyk(69.1%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.62, 8.08, -46.20)
CIE-LCHlch(47.62, 46.90, 279.92°)
OKLaboklab(55.07% -0.0285 -0.1318)
OKLCHoklch(55.07% 0.135 257.8)
XYZxyz(17.1093, 16.4999, 51.5632)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71BF #BF893B
analogous
#3BB3BF #3B71BF #473BBF
triadic
#3B71BF #BF3B71 #71BF3B
tetradic
#3B71BF #BF3BB3 #BF893B #3BBF47
square
#3B71BF #BF3BB3 #BF893B #3BBF47
split-complementary
#3B71BF #BF473B #B3BF3B
monochromatic
#1E3A61 #2D5590 #3B71BF #6792D0 #96B4DF

Accessibility & contrast

On white

4.88
#3B71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3B71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71BF#FFFFFF#000000##FFFFFF
##3B71BF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3b71bf;
/* rgb */ color: rgb(59, 113, 191);
/* oklch */ color: oklch(55.1% 0.135 257.8);
Tailwind
colors: {
  custom: {
    50: '#8099d3',
    500: '#3b71bf',
    950: '#000000',
  },
}
SCSS
$custom: #3b71bf;
$custom-light: #8099d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71bf",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 215.455,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.13482,
    "h": 257.8
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#3B71BF
secondary
#CAB18C
accent
#A14CDC
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3B71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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