#3F71BD#3F71BD

#3F71BD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.131 H 258.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F71BD
RGBrgb(63, 113, 189)
HSLhsl(216, 50%, 49%)
HSVhsv(216, 67%, 74%)
CMYKcmyk(66.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(47.67, 8.01, -44.95)
CIE-LCHlch(47.67, 45.66, 280.10°)
OKLaboklab(55.12% -0.0259 -0.128)
OKLCHoklch(55.12% 0.131 258.6)
XYZxyz(17.1370, 16.5394, 50.4235)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71BD #BD8B3F
analogous
#3FB0BD #3F71BD #4C3FBD
triadic
#3F71BD #BD3F71 #71BD3F
tetradic
#3F71BD #BD3FB0 #BD8B3F #3FBD4C
square
#3F71BD #BD3FB0 #BD8B3F #3FBD4C
split-complementary
#3F71BD #BD4C3F #B0BD3F
monochromatic
#203A61 #30568F #3F71BD #6B92CE #99B4DD

Accessibility & contrast

On white

4.87
#3F71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71BD#FFFFFF#000000##FFFFFF
##3F71BD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f71bd;
/* rgb */ color: rgb(63, 113, 189);
/* oklch */ color: oklch(55.1% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#8199d1',
    500: '#3f71bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f71bd;
$custom-light: #8199d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71bd",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 216.19,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.13064,
    "h": 258.6
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#3F71BD
secondary
#C9B28F
accent
#A24EDA
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3F71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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