#3F71C1#3F71C1

#3F71C1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.136 H 259.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3F71C1
RGBrgb(63, 113, 193)
HSLhsl(217, 51%, 50%)
HSVhsv(217, 67%, 76%)
CMYKcmyk(67.4%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.90, 9.44, -46.90)
CIE-LCHlch(47.90, 47.84, 281.38°)
OKLaboklab(55.37% -0.025 -0.1338)
OKLCHoklch(55.37% 0.136 259.4)
XYZxyz(17.5772, 16.7155, 52.7418)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71C1 #C18F3F
analogous
#3FB2C1 #3F71C1 #4E3FC1
triadic
#3F71C1 #C13F71 #71C13F
tetradic
#3F71C1 #C13FB2 #C18F3F #3FC14E
square
#3F71C1 #C13FB2 #C18F3F #3FC14E
split-complementary
#3F71C1 #C14E3F #B2C13F
monochromatic
#213B65 #305693 #3F71C1 #6D93D0 #9CB5DF

Accessibility & contrast

On white

4.83
#3F71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3F71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F71C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71C1#FFFFFF#000000##FFFFFF
##3F71C11.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f71c1;
/* rgb */ color: rgb(63, 113, 193);
/* oklch */ color: oklch(55.4% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#8299d4',
    500: '#3f71c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f71c1;
$custom-light: #8299d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71c1",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 216.923,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.13608,
    "h": 259.4
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#3F71C1
secondary
#CBB591
accent
#A44DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3F71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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