#3F71BB#3F71BB

#3F71BB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.0% C 0.128 H 258.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3F71BB
RGBrgb(63, 113, 187)
HSLhsl(216, 50%, 49%)
HSVhsv(216, 66%, 73%)
CMYKcmyk(66.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(47.56, 7.30, -43.97)
CIE-LCHlch(47.56, 44.57, 279.42°)
OKLaboklab(55% -0.0263 -0.1252)
OKLCHoklch(55% 0.128 258.1)
XYZxyz(16.9214, 16.4532, 49.2881)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71BB #BB893F
analogous
#3FAFBB #3F71BB #4B3FBB
triadic
#3F71BB #BB3F71 #71BB3F
tetradic
#3F71BB #BB3FAF #BB893F #3FBB4B
square
#3F71BB #BB3FAF #BB893F #3FBB4B
split-complementary
#3F71BB #BB4B3F #AFBB3F
monochromatic
#203A5F #30558D #3F71BB #6A92CD #98B4DC

Accessibility & contrast

On white

4.89
#3F71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3F71BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71BB#FFFFFF#000000##FFFFFF
##3F71BB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#3D6CB9
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f71bb;
/* rgb */ color: rgb(63, 113, 187);
/* oklch */ color: oklch(55.0% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#8199d0',
    500: '#3f71bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f71bb;
$custom-light: #8199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71bb",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 215.806,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.12792,
    "h": 258.1
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#3F71BB
secondary
#C8B18E
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3F71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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