#3B71CA#3B71CA

#3B71CA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.150 H 259.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3B71CA
RGBrgb(59, 113, 202)
HSLhsl(217, 57%, 51%)
HSVhsv(217, 71%, 79%)
CMYKcmyk(70.8%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.26, 12.07, -51.49)
CIE-LCHlch(48.26, 52.89, 283.19°)
OKLaboklab(55.77% -0.0263 -0.1473)
OKLCHoklch(55.77% 0.15 259.9)
XYZxyz(18.3656, 17.0024, 58.1796)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71CA #CA943B
analogous
#3BB8CA #3B71CA #4C3BCA
triadic
#3B71CA #CA3B71 #71CA3B
tetradic
#3B71CA #CA3BB8 #CA943B #3BCA4C
square
#3B71CA #CA3BB8 #CA943B #3BCA4C
split-complementary
#3B71CA #CA4C3B #B8CA3B
monochromatic
#1E3C6D #2B569D #3B71CA #6B94D7 #9BB7E4

Accessibility & contrast

On white

4.77
#3B71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3B71CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71CA#FFFFFF#000000##FFFFFF
##3B71CA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b71ca;
/* rgb */ color: rgb(59, 113, 202);
/* oklch */ color: oklch(55.8% 0.150 259.9);
Tailwind
colors: {
  custom: {
    50: '#8299db',
    500: '#3b71ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b71ca;
$custom-light: #8299db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71ca",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 217.343,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.14967,
    "h": 259.9
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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