#3F71BF#3F71BF

#3F71BF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3F71BF
RGBrgb(63, 113, 191)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 67%, 75%)
CMYKcmyk(67%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.79, 8.72, -45.93)
CIE-LCHlch(47.79, 46.75, 280.75°)
OKLaboklab(55.24% -0.0254 -0.1309)
OKLCHoklch(55.24% 0.133 259)
XYZxyz(17.3556, 16.6269, 51.5748)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71BF #BF8D3F
analogous
#3FB1BF #3F71BF #4D3FBF
triadic
#3F71BF #BF3F71 #71BF3F
tetradic
#3F71BF #BF3FB1 #BF8D3F #3FBF4D
square
#3F71BF #BF3FB1 #BF8D3F #3FBF4D
split-complementary
#3F71BF #BF4D3F #B1BF3F
monochromatic
#213B63 #305691 #3F71BF #6D93CF #9BB5DE

Accessibility & contrast

On white

4.85
#3F71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3F71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71BF#FFFFFF#000000##FFFFFF
##3F71BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f71bf;
/* rgb */ color: rgb(63, 113, 191);
/* oklch */ color: oklch(55.2% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#8199d3',
    500: '#3f71bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f71bf;
$custom-light: #8199d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71bf",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 216.563,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.13336,
    "h": 259
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#3F71BF
secondary
#CAB390
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3F71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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