#3F4D8A#3F4D8A

#3F4D8A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.102 H 271.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3F4D8A
RGBrgb(63, 77, 138)
HSLhsl(229, 37%, 39%)
HSVhsv(229, 54%, 54%)
CMYKcmyk(54.3%, 44.2%, 0%, 45.9%)
CIE-LABlab(34.39, 13.10, -35.80)
CIE-LCHlch(34.39, 38.12, 290.10°)
OKLaboklab(43.92% 0.0034 -0.1016)
OKLCHoklch(43.92% 0.102 271.9)
XYZxyz(9.2897, 8.1989, 25.1328)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4D8A #8A7C3F
analogous
#3F738A #3F4D8A #573F8A
triadic
#3F4D8A #8A3F4D #4D8A3F
tetradic
#3F4D8A #8A3F73 #8A7C3F #3F8A57
square
#3F4D8A #8A3F73 #8A7C3F #3F8A57
split-complementary
#3F4D8A #8A573F #738A3F
monochromatic
#191E36 #2C3660 #3F4D8A #5566B1 #7F8CC5

Accessibility & contrast

On white

7.96
#3F4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3F4D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4D8A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4D8A#FFFFFF#000000##FFFFFF
##3F4D8A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#1B5A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4d8a;
/* rgb */ color: rgb(63, 77, 138);
/* oklch */ color: oklch(43.9% 0.102 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a7eac',
    500: '#3f4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f4d8a;
$custom-light: #7a7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4d8a",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 228.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.10171,
    "h": 271.9
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#3F4D8A
secondary
#AFA476
accent
#B85BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3F4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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