#3B71CF#3B71CF

#3B71CF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.156 H 260.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3B71CF
RGBrgb(59, 113, 207)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 71%, 81%)
CMYKcmyk(71.5%, 45.4%, 0%, 18.8%)
CIE-LABlab(48.56, 13.89, -53.87)
CIE-LCHlch(48.56, 55.63, 284.46°)
OKLaboklab(56.1% -0.0255 -0.1543)
OKLCHoklch(56.1% 0.156 260.6)
XYZxyz(18.9672, 17.2430, 61.3480)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B71CF #CF993B
analogous
#3BBBCF #3B71CF #4F3BCF
triadic
#3B71CF #CF3B71 #71CF3B
tetradic
#3B71CF #CF3BBB #CF993B #3BCF4F
square
#3B71CF #CF3BBB #CF993B #3BCF4F
split-complementary
#3B71CF #CF4F3B #BBCF3B
monochromatic
#1C3C73 #2856A5 #3B71CF #6C95DB #9DB8E7

Accessibility & contrast

On white

4.72
#3B71CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3B71CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B71CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B71CF#FFFFFF#000000##FFFFFF
##3B71CF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b71cf;
/* rgb */ color: rgb(59, 113, 207);
/* oklch */ color: oklch(56.1% 0.156 260.6);
Tailwind
colors: {
  custom: {
    50: '#8399de',
    500: '#3b71cf',
    950: '#000000',
  },
}
SCSS
$custom: #3b71cf;
$custom-light: #8399de;
$custom-dark: #000000;
JSON
{
  "hex": "#3b71cf",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 218.108,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.1564,
    "h": 260.6
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#3B71CF
secondary
#D3BC93
accent
#A944E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3B71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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