#3F71C3#3F71C3

#3F71C3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.139 H 259.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F71C3
RGBrgb(63, 113, 195)
HSLhsl(217, 52%, 51%)
HSVhsv(217, 68%, 76%)
CMYKcmyk(67.7%, 42.1%, 0%, 23.5%)
CIE-LABlab(48.01, 10.15, -47.87)
CIE-LCHlch(48.01, 48.93, 281.97°)
OKLaboklab(55.49% -0.0246 -0.1366)
OKLCHoklch(55.49% 0.139 259.8)
XYZxyz(17.8018, 16.8054, 53.9248)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71C3 #C3913F
analogous
#3FB3C3 #3F71C3 #4F3FC3
triadic
#3F71C3 #C33F71 #71C33F
tetradic
#3F71C3 #C33FB3 #C3913F #3FC34F
square
#3F71C3 #C33FB3 #C3913F #3FC34F
split-complementary
#3F71C3 #C34F3F #B3C33F
monochromatic
#203B67 #2F5696 #3F71C3 #6E93D2 #9CB6E0

Accessibility & contrast

On white

4.81
#3F71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71C3#FFFFFF#000000##FFFFFF
##3F71C31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#356CC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f71c3;
/* rgb */ color: rgb(63, 113, 195);
/* oklch */ color: oklch(55.5% 0.139 259.8);
Tailwind
colors: {
  custom: {
    50: '#8299d5',
    500: '#3f71c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f71c3;
$custom-light: #8299d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71c3",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 217.273,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.13881,
    "h": 259.8
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#3F71C3
secondary
#CCB692
accent
#A54CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3F71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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