#3F71D1#3F71D1

#3F71D1 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.158 H 262.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3F71D1
RGBrgb(63, 113, 209)
HSLhsl(219, 61%, 53%)
HSVhsv(219, 70%, 82%)
CMYKcmyk(69.9%, 45.9%, 0%, 18%)
CIE-LABlab(48.84, 15.19, -54.55)
CIE-LCHlch(48.84, 56.63, 285.56°)
OKLaboklab(56.4% -0.0221 -0.1562)
OKLCHoklch(56.4% 0.158 262)
XYZxyz(19.4596, 17.4684, 62.6554)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71D1 #D19F3F
analogous
#3FBAD1 #3F71D1 #563FD1
triadic
#3F71D1 #D13F71 #71D13F
tetradic
#3F71D1 #D13FBA #D19F3F #3FD156
square
#3F71D1 #D13FBA #D19F3F #3FD156
split-complementary
#3F71D1 #D1563F #BAD13F
monochromatic
#1D3C79 #2955AA #3F71D1 #7096DD #A2BAE9

Accessibility & contrast

On white

4.67
#3F71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3F71D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71D1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71D1#FFFFFF#000000##FFFFFF
##3F71D11.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f71d1;
/* rgb */ color: rgb(63, 113, 209);
/* oklch */ color: oklch(56.4% 0.158 262.0);
Tailwind
colors: {
  custom: {
    50: '#8599e0',
    500: '#3f71d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f71d1;
$custom-light: #8599e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71d1",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 219.452,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.1578,
    "h": 262
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#3F71D1
secondary
#D5C097
accent
#AD43E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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