#3F71D5#3F71D5

#3F71D5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.163 H 262.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3F71D5
RGBrgb(63, 113, 213)
HSLhsl(220, 64%, 54%)
HSVhsv(220, 70%, 84%)
CMYKcmyk(70.4%, 46.9%, 0%, 16.5%)
CIE-LABlab(49.09, 16.63, -56.43)
CIE-LCHlch(49.09, 58.83, 286.42°)
OKLaboklab(56.67% -0.0215 -0.1618)
OKLCHoklch(56.67% 0.163 262.4)
XYZxyz(19.9610, 17.6690, 65.2964)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71D5 #D5A33F
analogous
#3FBCD5 #3F71D5 #583FD5
triadic
#3F71D5 #D53F71 #71D53F
tetradic
#3F71D5 #D53FBC #D5A33F #3FD558
square
#3F71D5 #D53FBC #D5A33F #3FD558
split-complementary
#3F71D5 #D5583F #BCD53F
monochromatic
#1C3C7E #2754B0 #3F71D5 #7196E0 #A3BBEB

Accessibility & contrast

On white

4.63
#3F71D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3F71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71D5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71D5#FFFFFF#000000##FFFFFF
##3F71D51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f71d5;
/* rgb */ color: rgb(63, 113, 213);
/* oklch */ color: oklch(56.7% 0.163 262.4);
Tailwind
colors: {
  custom: {
    50: '#8699e2',
    500: '#3f71d5',
    950: '#000000',
  },
}
SCSS
$custom: #3f71d5;
$custom-light: #8699e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71d5",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 220,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.16319,
    "h": 262.4
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#3F71D5
secondary
#D8C398
accent
#B041E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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