#3F4E71#3F4E71

#3F4E71 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.062 H 266.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3F4E71
RGBrgb(63, 78, 113)
HSLhsl(222, 28%, 35%)
HSVhsv(222, 44%, 44%)
CMYKcmyk(44.2%, 31%, 0%, 55.7%)
CIE-LABlab(33.34, 4.16, -21.97)
CIE-LCHlch(33.34, 22.36, 280.72°)
OKLaboklab(42.68% -0.0042 -0.0614)
OKLCHoklch(42.68% 0.062 266.1)
XYZxyz(7.7540, 7.6974, 16.6968)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E71 #71623F
analogous
#3F6771 #3F4E71 #493F71
triadic
#3F4E71 #713F4E #4E713F
tetradic
#3F4E71 #713F67 #71623F #3F7149
square
#3F4E71 #713F67 #71623F #3F7149
split-complementary
#3F4E71 #71493F #67713F
monochromatic
#131822 #29334A #3F4E71 #556998 #7789B3

Accessibility & contrast

On white

8.27
#3F4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E71
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E71#FFFFFF#000000##FFFFFF
##3F4E711.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#2E555A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f4e71;
/* rgb */ color: rgb(63, 78, 113);
/* oklch */ color: oklch(42.7% 0.062 266.1);
Tailwind
colors: {
  custom: {
    50: '#767f9a',
    500: '#3f4e71',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e71;
$custom-light: #767f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e71",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 222,
    "s": 28.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.06154,
    "h": 266.1
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#3F4E71
secondary
#9E906E
accent
#A763C5
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #3F4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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