#3F71D3#3F71D3

#3F71D3 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.161 H 262.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3F71D3
RGBrgb(63, 113, 211)
HSLhsl(220, 63%, 54%)
HSVhsv(220, 70%, 83%)
CMYKcmyk(70.1%, 46.4%, 0%, 17.3%)
CIE-LABlab(48.97, 15.91, -55.49)
CIE-LCHlch(48.97, 57.73, 286.00°)
OKLaboklab(56.54% -0.0218 -0.159)
OKLCHoklch(56.54% 0.161 262.2)
XYZxyz(19.7087, 17.5681, 63.9677)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71D3 #D3A13F
analogous
#3FBBD3 #3F71D3 #573FD3
triadic
#3F71D3 #D33F71 #71D33F
tetradic
#3F71D3 #D33FBB #D3A13F #3FD357
square
#3F71D3 #D33FBB #D3A13F #3FD357
split-complementary
#3F71D3 #D3573F #BBD33F
monochromatic
#1C3C7B #2855AD #3F71D3 #7196DE #A3BBEA

Accessibility & contrast

On white

4.65
#3F71D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3F71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71D3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71D3#FFFFFF#000000##FFFFFF
##3F71D31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f71d3;
/* rgb */ color: rgb(63, 113, 211);
/* oklch */ color: oklch(56.5% 0.161 262.2);
Tailwind
colors: {
  custom: {
    50: '#8599e1',
    500: '#3f71d3',
    950: '#000000',
  },
}
SCSS
$custom: #3f71d3;
$custom-light: #8599e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71d3",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 219.73,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.1605,
    "h": 262.2
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#3F71D3
secondary
#D7C197
accent
#AE42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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