#3F4E81#3F4E81

#3F4E81 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.086 H 270.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3F4E81
RGBrgb(63, 78, 129)
HSLhsl(226, 34%, 38%)
HSVhsv(226, 51%, 51%)
CMYKcmyk(51.2%, 39.5%, 0%, 49.4%)
CIE-LABlab(34.17, 9.39, -30.62)
CIE-LCHlch(34.17, 32.03, 287.05°)
OKLaboklab(43.58% 0.0002 -0.0865)
OKLCHoklch(43.58% 0.087 270.1)
XYZxyz(8.7355, 8.0900, 21.8658)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E81 #81723F
analogous
#3F6F81 #3F4E81 #513F81
triadic
#3F4E81 #813F4E #4E813F
tetradic
#3F4E81 #813F6F #81723F #3F8151
square
#3F4E81 #813F6F #81723F #3F8151
split-complementary
#3F4E81 #81513F #6F813F
monochromatic
#171C2F #2B3558 #3F4E81 #5367AA #7C8BBF

Accessibility & contrast

On white

8.02
#3F4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E81
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E81#FFFFFF#000000##FFFFFF
##3F4E811.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#245961
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f4e81;
/* rgb */ color: rgb(63, 78, 129);
/* oklch */ color: oklch(43.6% 0.086 270.1);
Tailwind
colors: {
  custom: {
    50: '#787fa6',
    500: '#3f4e81',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e81;
$custom-light: #787fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e81",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 226.364,
    "s": 34.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.0865,
    "h": 270.1
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#3F4E81
secondary
#A99D73
accent
#B25DCA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3F4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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