#3F71AC#3F71AC

#3F71AC is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.108 H 253.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3F71AC
RGBrgb(63, 113, 172)
HSLhsl(212, 46%, 46%)
HSVhsv(212, 63%, 67%)
CMYKcmyk(63.4%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.77, 2.02, -36.52)
CIE-LCHlch(46.77, 36.57, 273.16°)
OKLaboklab(54.12% -0.0301 -0.1034)
OKLCHoklch(54.12% 0.108 253.8)
XYZxyz(15.3987, 15.8441, 41.2684)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71AC #AC7A3F
analogous
#3FA7AC #3F71AC #433FAC
triadic
#3F71AC #AC3F71 #71AC3F
tetradic
#3F71AC #AC3FA7 #AC7A3F #3FAC43
square
#3F71AC #AC3FA7 #AC7A3F #3FAC43
split-complementary
#3F71AC #AC433F #A7AC3F
monochromatic
#1E3652 #2F547F #3F71AC #6390C6 #8FB0D6

Accessibility & contrast

On white

5.04
#3F71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3F71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71AC#FFFFFF#000000##FFFFFF
##3F71AC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f71ac;
/* rgb */ color: rgb(63, 113, 172);
/* oklch */ color: oklch(54.1% 0.108 253.8);
Tailwind
colors: {
  custom: {
    50: '#7e99c5',
    500: '#3f71ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f71ac;
$custom-light: #7e99c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71ac",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 212.477,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.10766,
    "h": 253.8
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#3F71AC
secondary
#C1A686
accent
#9952D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3F71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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