#3F71CA#3F71CA

#3F71CA is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.148 H 261.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3F71CA
RGBrgb(63, 113, 202)
HSLhsl(218, 57%, 52%)
HSVhsv(218, 69%, 79%)
CMYKcmyk(68.8%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.42, 12.67, -51.23)
CIE-LCHlch(48.42, 52.77, 283.89°)
OKLaboklab(55.94% -0.0233 -0.1465)
OKLCHoklch(55.94% 0.148 261)
XYZxyz(18.6119, 17.1294, 58.1911)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71CA #CA983F
analogous
#3FB7CA #3F71CA #523FCA
triadic
#3F71CA #CA3F71 #71CA3F
tetradic
#3F71CA #CA3FB7 #CA983F #3FCA52
square
#3F71CA #CA3FB7 #CA983F #3FCA52
split-complementary
#3F71CA #CA523F #B7CA3F
monochromatic
#1F3C70 #2C56A0 #3F71CA #6F94D7 #9FB8E4

Accessibility & contrast

On white

4.74
#3F71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3F71CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71CA#FFFFFF#000000##FFFFFF
##3F71CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467ACD
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f71ca;
/* rgb */ color: rgb(63, 113, 202);
/* oklch */ color: oklch(55.9% 0.148 261.0);
Tailwind
colors: {
  custom: {
    50: '#8399db',
    500: '#3f71ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f71ca;
$custom-light: #8399db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71ca",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 218.417,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.14832,
    "h": 261
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#3F71CA
secondary
#D1BB94
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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