#3F4E89#3F4E89

#3F4E89 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.099 H 271.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3F4E89
RGBrgb(63, 78, 137)
HSLhsl(228, 37%, 39%)
HSVhsv(228, 54%, 54%)
CMYKcmyk(54%, 43.1%, 0%, 46.3%)
CIE-LABlab(34.62, 12.10, -34.82)
CIE-LCHlch(34.62, 36.87, 289.17°)
OKLaboklab(44.08% 0.0019 -0.0988)
OKLCHoklch(44.08% 0.099 271.1)
XYZxyz(9.2882, 8.3111, 24.7768)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E89 #897A3F
analogous
#3F7389 #3F4E89 #553F89
triadic
#3F4E89 #893F4E #4E893F
tetradic
#3F4E89 #893F73 #897A3F #3F8955
square
#3F4E89 #893F73 #897A3F #3F8955
split-complementary
#3F4E89 #89553F #73893F
monochromatic
#181E35 #2C365F #3F4E89 #5567B1 #7E8DC4

Accessibility & contrast

On white

7.89
#3F4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E89
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E89#FFFFFF#000000##FFFFFF
##3F4E891.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#2E4E88
Tritanopia (blue-blind)
#1C5B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4e89;
/* rgb */ color: rgb(63, 78, 137);
/* oklch */ color: oklch(44.1% 0.099 271.1);
Tailwind
colors: {
  custom: {
    50: '#797fac',
    500: '#3f4e89',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e89;
$custom-light: #797fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e89",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 227.838,
    "s": 37,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.0988,
    "h": 271.1
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#3F4E89
secondary
#AEA376
accent
#B65BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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