#3F4E84#3F4E84

#3F4E84 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.091 H 270.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3F4E84
RGBrgb(63, 78, 132)
HSLhsl(227, 35%, 38%)
HSVhsv(227, 52%, 52%)
CMYKcmyk(52.3%, 40.9%, 0%, 48.2%)
CIE-LABlab(34.34, 10.40, -32.21)
CIE-LCHlch(34.34, 33.84, 287.90°)
OKLaboklab(43.77% 0.0009 -0.0911)
OKLCHoklch(43.77% 0.091 270.6)
XYZxyz(8.9378, 8.1709, 22.9315)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E84 #84753F
analogous
#3F7084 #3F4E84 #523F84
triadic
#3F4E84 #843F4E #4E843F
tetradic
#3F4E84 #843F70 #84753F #3F8452
square
#3F4E84 #843F70 #84753F #3F8452
split-complementary
#3F4E84 #84523F #70843F
monochromatic
#171D31 #2B365B #3F4E84 #5367AD #7D8BC1

Accessibility & contrast

On white

7.97
#3F4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F4E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E84
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E84#FFFFFF#000000##FFFFFF
##3F4E841.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#215A62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4e84;
/* rgb */ color: rgb(63, 78, 132);
/* oklch */ color: oklch(43.8% 0.091 270.6);
Tailwind
colors: {
  custom: {
    50: '#797fa8',
    500: '#3f4e84',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e84;
$custom-light: #797fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e84",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 226.957,
    "s": 35.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.09113,
    "h": 270.6
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#3F4E84
secondary
#AB9F74
accent
#B35CCB
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3F4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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