#3F71BE#3F71BE

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

Color values

HEX#3F71BE
RGBrgb(63, 113, 190)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 67%, 75%)
CMYKcmyk(66.8%, 40.5%, 0%, 25.5%)
CIE-LABlab(47.73, 8.37, -45.44)
CIE-LCHlch(47.73, 46.20, 280.43°)
OKLaboklab(55.18% -0.0257 -0.1295)
OKLCHoklch(55.18% 0.132 258.8)
XYZxyz(17.2460, 16.5830, 50.9972)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71BE #BE8C3F
analogous
#3FB1BE #3F71BE #4C3FBE
triadic
#3F71BE #BE3F71 #71BE3F
tetradic
#3F71BE #BE3FB1 #BE8C3F #3FBE4C
square
#3F71BE #BE3FB1 #BE8C3F #3FBE4C
split-complementary
#3F71BE #BE4C3F #B1BE3F
monochromatic
#213A62 #305690 #3F71BE #6C93CE #9AB5DD

Accessibility & contrast

On white

4.86
#3F71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3F71BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71BE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71BE#FFFFFF#000000##FFFFFF
##3F71BE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f71be;
/* rgb */ color: rgb(63, 113, 190);
/* oklch */ color: oklch(55.2% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#8199d2',
    500: '#3f71be',
    950: '#000000',
  },
}
SCSS
$custom: #3f71be;
$custom-light: #8199d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71be",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 216.378,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.132,
    "h": 258.8
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#3F71BE
secondary
#C9B38F
accent
#A34EDA
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3F71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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