#3F71DF#3F71DF

#3F71DF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.177 H 263.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F71DF
RGBrgb(63, 113, 223)
HSLhsl(221, 71%, 56%)
HSVhsv(221, 72%, 87%)
CMYKcmyk(71.7%, 49.3%, 0%, 12.5%)
CIE-LABlab(49.73, 20.25, -61.07)
CIE-LCHlch(49.73, 64.34, 288.34°)
OKLaboklab(57.36% -0.0201 -0.1754)
OKLCHoklch(57.36% 0.177 263.5)
XYZxyz(21.2696, 18.1925, 72.1883)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71DF #DFAD3F
analogous
#3FC1DF #3F71DF #5D3FDF
triadic
#3F71DF #DF3F71 #71DF3F
tetradic
#3F71DF #DF3FC1 #DFAD3F #3FDF5D
square
#3F71DF #DF3FC1 #DFAD3F #3FDF5D
split-complementary
#3F71DF #DF5D3F #C1DF3F
monochromatic
#173C8C #2052C1 #3F71DF #7398E8 #A8BFF0

Accessibility & contrast

On white

4.53
#3F71DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#3F71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F71DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71DF#FFFFFF#000000##000000
##3F71DF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3f71df;
/* rgb */ color: rgb(63, 113, 223);
/* oklch */ color: oklch(57.4% 0.177 263.5);
Tailwind
colors: {
  custom: {
    50: '#8899ea',
    500: '#3f71df',
    950: '#000000',
  },
}
SCSS
$custom: #3f71df;
$custom-light: #8899ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71df",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 221.25,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.17658,
    "h": 263.5
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

primary
#3F71DF
secondary
#DEC99C
accent
#B63AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3F71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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