#3F4784#3F4784

#3F4784 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.101 H 275.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3F4784
RGBrgb(63, 71, 132)
HSLhsl(233, 35%, 38%)
HSVhsv(233, 52%, 52%)
CMYKcmyk(52.3%, 46.2%, 0%, 48.2%)
CIE-LABlab(32.32, 15.02, -35.41)
CIE-LCHlch(32.32, 38.46, 292.99°)
OKLaboklab(42.23% 0.0098 -0.1005)
OKLCHoklch(42.23% 0.101 275.6)
XYZxyz(8.4667, 7.2287, 22.7745)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4784 #847C3F
analogous
#3F6984 #3F4784 #593F84
triadic
#3F4784 #843F47 #47843F
tetradic
#3F4784 #843F69 #847C3F #3F8459
square
#3F4784 #843F69 #847C3F #3F8459
split-complementary
#3F4784 #84593F #69843F
monochromatic
#171A31 #2B315B #3F4784 #535EAD #7D85C1

Accessibility & contrast

On white

8.59
#3F4784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F4784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4784
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4784#FFFFFF#000000##FFFFFF
##3F47841.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F86
Deuteranopia (green-blind)
#274983
Tritanopia (blue-blind)
#22545F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f4784;
/* rgb */ color: rgb(63, 71, 132);
/* oklch */ color: oklch(42.2% 0.101 275.6);
Tailwind
colors: {
  custom: {
    50: '#797aa8',
    500: '#3f4784',
    950: '#000000',
  },
}
SCSS
$custom: #3f4784;
$custom-light: #797aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4784",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 233.043,
    "s": 35.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.10103,
    "h": 275.6
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#3F4784
secondary
#ABA574
accent
#BF5CCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3F4784

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

Preview Lab → · Contrast checker → · Palette generator →

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