#3B71CB#3B71CB

#3B71CB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.151 H 260.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3B71CB
RGBrgb(59, 113, 203)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 71%, 80%)
CMYKcmyk(70.9%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.32, 12.43, -51.97)
CIE-LCHlch(48.32, 53.44, 283.45°)
OKLaboklab(55.84% -0.0262 -0.1487)
OKLCHoklch(55.84% 0.151 260)
XYZxyz(18.4844, 17.0499, 58.8051)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71CB #CB953B
analogous
#3BB9CB #3B71CB #4D3BCB
triadic
#3B71CB #CB3B71 #71CB3B
tetradic
#3B71CB #CB3BB9 #CB953B #3BCB4D
square
#3B71CB #CB3BB9 #CB953B #3BCB4D
split-complementary
#3B71CB #CB4D3B #B9CB3B
monochromatic
#1D3C6E #2A569F #3B71CB #6B94D8 #9CB7E5

Accessibility & contrast

On white

4.76
#3B71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3B71CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71CB#FFFFFF#000000##FFFFFF
##3B71CB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b71cb;
/* rgb */ color: rgb(59, 113, 203);
/* oklch */ color: oklch(55.8% 0.151 260.0);
Tailwind
colors: {
  custom: {
    50: '#8299db',
    500: '#3b71cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b71cb;
$custom-light: #8299db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71cb",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 217.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.15101,
    "h": 260
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#3B71CB
secondary
#D1B991
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3B71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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