#3F4E87#3F4E87

#3F4E87 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.096 H 270.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3F4E87
RGBrgb(63, 78, 135)
HSLhsl(228, 36%, 39%)
HSVhsv(228, 53%, 53%)
CMYKcmyk(53.3%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.51, 11.42, -33.78)
CIE-LCHlch(34.51, 35.66, 288.68°)
OKLaboklab(43.95% 0.0015 -0.0957)
OKLCHoklch(43.95% 0.096 270.9)
XYZxyz(9.1460, 8.2542, 24.0282)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E87 #87783F
analogous
#3F7287 #3F4E87 #543F87
triadic
#3F4E87 #873F4E #4E873F
tetradic
#3F4E87 #873F72 #87783F #3F8754
square
#3F4E87 #873F72 #87783F #3F8754
split-complementary
#3F4E87 #87543F #72873F
monochromatic
#181E34 #2C365D #3F4E87 #5467AF #7E8CC3

Accessibility & contrast

On white

7.92
#3F4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E87
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E87#FFFFFF#000000##FFFFFF
##3F4E871.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#1E5A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4e87;
/* rgb */ color: rgb(63, 78, 135);
/* oklch */ color: oklch(44.0% 0.096 270.9);
Tailwind
colors: {
  custom: {
    50: '#797faa',
    500: '#3f4e87',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e87;
$custom-light: #797faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e87",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 227.5,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.09574,
    "h": 270.9
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#3F4E87
secondary
#ADA175
accent
#B55BCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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