#3F71CB#3F71CB

#3F71CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.150 H 261.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3F71CB
RGBrgb(63, 113, 203)
HSLhsl(219, 57%, 52%)
HSVhsv(219, 69%, 80%)
CMYKcmyk(69%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.48, 13.03, -51.71)
CIE-LCHlch(48.48, 53.32, 284.14°)
OKLaboklab(56% -0.0231 -0.1479)
OKLCHoklch(56% 0.15 261.1)
XYZxyz(18.7307, 17.1769, 58.8167)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71CB #CB993F
analogous
#3FB7CB #3F71CB #533FCB
triadic
#3F71CB #CB3F71 #71CB3F
tetradic
#3F71CB #CB3FB7 #CB993F #3FCB53
square
#3F71CB #CB3FB7 #CB993F #3FCB53
split-complementary
#3F71CB #CB533F #B7CB3F
monochromatic
#1F3C71 #2C56A1 #3F71CB #6F95D8 #9FB8E5

Accessibility & contrast

On white

4.73
#3F71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3F71CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71CB#FFFFFF#000000##FFFFFF
##3F71CB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f71cb;
/* rgb */ color: rgb(63, 113, 203);
/* oklch */ color: oklch(56.0% 0.150 261.1);
Tailwind
colors: {
  custom: {
    50: '#8499db',
    500: '#3f71cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f71cb;
$custom-light: #8499db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71cb",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 218.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.14968,
    "h": 261.1
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#3F71CB
secondary
#D1BC94
accent
#AA47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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