#3F4E8B#3F4E8B

#3F4E8B is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.102 H 271.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3F4E8B
RGBrgb(63, 78, 139)
HSLhsl(228, 38%, 40%)
HSVhsv(228, 55%, 55%)
CMYKcmyk(54.7%, 43.9%, 0%, 45.5%)
CIE-LABlab(34.74, 12.79, -35.86)
CIE-LCHlch(34.74, 38.07, 289.63°)
OKLaboklab(44.21% 0.0023 -0.1018)
OKLCHoklch(44.21% 0.102 271.3)
XYZxyz(9.4330, 8.3690, 25.5394)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E8B #8B7C3F
analogous
#3F748B #3F4E8B #563F8B
triadic
#3F4E8B #8B3F4E #4E8B3F
tetradic
#3F4E8B #8B3F74 #8B7C3F #3F8B56
square
#3F4E8B #8B3F74 #8B7C3F #3F8B56
split-complementary
#3F4E8B #8B563F #748B3F
monochromatic
#191F37 #2C3661 #3F4E8B #5567B2 #7F8DC5

Accessibility & contrast

On white

7.85
#3F4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E8B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E8B#FFFFFF#000000##FFFFFF
##3F4E8B1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#1A5B65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4e8b;
/* rgb */ color: rgb(63, 78, 139);
/* oklch */ color: oklch(44.2% 0.102 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a7fad',
    500: '#3f4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e8b;
$custom-light: #7a7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e8b",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 228.158,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.10185,
    "h": 271.3
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#3F4E8B
secondary
#AFA476
accent
#B75ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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