#3F71D8#3F71D8

#3F71D8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.167 H 262.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3F71D8
RGBrgb(63, 113, 216)
HSLhsl(220, 66%, 55%)
HSVhsv(220, 71%, 85%)
CMYKcmyk(70.8%, 47.7%, 0%, 15.3%)
CIE-LABlab(49.28, 17.72, -57.83)
CIE-LCHlch(49.28, 60.48, 287.03°)
OKLaboklab(56.87% -0.021 -0.1659)
OKLCHoklch(56.87% 0.167 262.8)
XYZxyz(20.3453, 17.8227, 67.3203)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71D8 #D8A63F
analogous
#3FBED8 #3F71D8 #593FD8
triadic
#3F71D8 #D83F71 #71D83F
tetradic
#3F71D8 #D83FBE #D8A63F #3FD859
square
#3F71D8 #D83FBE #D8A63F #3FD859
split-complementary
#3F71D8 #D8593F #BED83F
monochromatic
#1A3C82 #2554B5 #3F71D8 #7297E2 #A5BCED

Accessibility & contrast

On white

4.60
#3F71D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3F71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71D8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71D8#FFFFFF#000000##FFFFFF
##3F71D81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#0C6FD6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f71d8;
/* rgb */ color: rgb(63, 113, 216);
/* oklch */ color: oklch(56.9% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#8699e5',
    500: '#3f71d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f71d8;
$custom-light: #8699e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71d8",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 220.392,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.16723,
    "h": 262.8
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#3F71D8
secondary
#DAC599
accent
#B13FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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