#3F4E82#3F4E82

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

Color values

HEX#3F4E82
RGBrgb(63, 78, 130)
HSLhsl(227, 35%, 38%)
HSVhsv(227, 52%, 51%)
CMYKcmyk(51.5%, 40%, 0%, 49%)
CIE-LABlab(34.22, 9.73, -31.15)
CIE-LCHlch(34.22, 32.63, 287.35°)
OKLaboklab(43.65% 0.0004 -0.088)
OKLCHoklch(43.65% 0.088 270.3)
XYZxyz(8.8023, 8.1167, 22.2176)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E82 #82733F
analogous
#3F6F82 #3F4E82 #513F82
triadic
#3F4E82 #823F4E #4E823F
tetradic
#3F4E82 #823F6F #82733F #3F8251
square
#3F4E82 #823F6F #82733F #3F8251
split-complementary
#3F4E82 #82513F #6F823F
monochromatic
#171D30 #2B3559 #3F4E82 #5367AB #7C8BBF

Accessibility & contrast

On white

8.00
#3F4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4E82
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E82#FFFFFF#000000##FFFFFF
##3F4E821.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#235961
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f4e82;
/* rgb */ color: rgb(63, 78, 130);
/* oklch */ color: oklch(43.6% 0.088 270.3);
Tailwind
colors: {
  custom: {
    50: '#787fa6',
    500: '#3f4e82',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e82;
$custom-light: #787fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e82",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 226.567,
    "s": 34.715,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.08804,
    "h": 270.3
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#3F4E82
secondary
#AA9E73
accent
#B25DCB
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3F4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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