#3F71D9#3F71D9

#3F71D9 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.9% C 0.169 H 262.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F71D9
RGBrgb(63, 113, 217)
HSLhsl(221, 67%, 55%)
HSVhsv(221, 71%, 85%)
CMYKcmyk(71%, 47.9%, 0%, 14.9%)
CIE-LABlab(49.34, 18.08, -58.30)
CIE-LCHlch(49.34, 61.03, 287.23°)
OKLaboklab(56.94% -0.0209 -0.1673)
OKLCHoklch(56.94% 0.169 262.9)
XYZxyz(20.4750, 17.8746, 68.0033)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71D9 #D9A73F
analogous
#3FBED9 #3F71D9 #5A3FD9
triadic
#3F71D9 #D93F71 #71D93F
tetradic
#3F71D9 #D93FBE #D9A73F #3FD95A
square
#3F71D9 #D93FBE #D9A73F #3FD95A
split-complementary
#3F71D9 #D95A3F #BED93F
monochromatic
#1A3C84 #2454B7 #3F71D9 #7297E3 #A5BDED

Accessibility & contrast

On white

4.59
#3F71D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3F71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71D9#FFFFFF#000000##FFFFFF
##3F71D91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#076FD7
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f71d9;
/* rgb */ color: rgb(63, 113, 217);
/* oklch */ color: oklch(56.9% 0.169 262.9);
Tailwind
colors: {
  custom: {
    50: '#8699e5',
    500: '#3f71d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f71d9;
$custom-light: #8699e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71d9",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 220.519,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.16856,
    "h": 262.9
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#3F71D9
secondary
#DAC59A
accent
#B23EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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