#3F4E8A#3F4E8A

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

Color values

HEX#3F4E8A
RGBrgb(63, 78, 138)
HSLhsl(228, 37%, 39%)
HSVhsv(228, 54%, 54%)
CMYKcmyk(54.3%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.68, 12.44, -35.34)
CIE-LCHlch(34.68, 37.47, 289.40°)
OKLaboklab(44.14% 0.0021 -0.1003)
OKLCHoklch(44.14% 0.1 271.2)
XYZxyz(9.3602, 8.3399, 25.1563)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E8A #8A7B3F
analogous
#3F748A #3F4E8A #563F8A
triadic
#3F4E8A #8A3F4E #4E8A3F
tetradic
#3F4E8A #8A3F74 #8A7B3F #3F8A56
square
#3F4E8A #8A3F74 #8A7B3F #3F8A56
split-complementary
#3F4E8A #8A563F #748A3F
monochromatic
#191F36 #2C3660 #3F4E8A #5567B1 #7F8DC5

Accessibility & contrast

On white

7.87
#3F4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4E8A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E8A#FFFFFF#000000##FFFFFF
##3F4E8A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#1B5B65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4e8a;
/* rgb */ color: rgb(63, 78, 138);
/* oklch */ color: oklch(44.1% 0.100 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a7fac',
    500: '#3f4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e8a;
$custom-light: #7a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e8a",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 228,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.10032,
    "h": 271.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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