#3F71C8#3F71C8

#3F71C8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.146 H 260.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3F71C8
RGBrgb(63, 113, 200)
HSLhsl(218, 55%, 52%)
HSVhsv(218, 69%, 78%)
CMYKcmyk(68.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.30, 11.95, -50.27)
CIE-LCHlch(48.30, 51.67, 283.37°)
OKLaboklab(55.81% -0.0236 -0.1437)
OKLCHoklch(55.81% 0.146 260.7)
XYZxyz(18.3766, 17.0353, 56.9521)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71C8 #C8963F
analogous
#3FB6C8 #3F71C8 #523FC8
triadic
#3F71C8 #C83F71 #71C83F
tetradic
#3F71C8 #C83FB6 #C8963F #3FC852
square
#3F71C8 #C83FB6 #C8963F #3FC852
split-complementary
#3F71C8 #C8523F #B6C83F
monochromatic
#1F3C6D #2D569D #3F71C8 #6F94D6 #9EB7E3

Accessibility & contrast

On white

4.76
#3F71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3F71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71C8#FFFFFF#000000##FFFFFF
##3F71C81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f71c8;
/* rgb */ color: rgb(63, 113, 200);
/* oklch */ color: oklch(55.8% 0.146 260.7);
Tailwind
colors: {
  custom: {
    50: '#8399d9',
    500: '#3f71c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f71c8;
$custom-light: #8399d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71c8",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 218.102,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.1456,
    "h": 260.7
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#3F71C8
secondary
#D0BA93
accent
#A849DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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