#3F4E8F#3F4E8F

#3F4E8F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.108 H 271.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3F4E8F
RGBrgb(63, 78, 143)
HSLhsl(229, 39%, 40%)
HSVhsv(229, 56%, 56%)
CMYKcmyk(55.9%, 45.5%, 0%, 43.9%)
CIE-LABlab(34.98, 14.17, -37.92)
CIE-LCHlch(34.98, 40.48, 290.48°)
OKLaboklab(44.47% 0.003 -0.1079)
OKLCHoklch(44.47% 0.108 271.6)
XYZxyz(9.7306, 8.4880, 27.1069)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E8F #8F803F
analogous
#3F768F #3F4E8F #583F8F
triadic
#3F4E8F #8F3F4E #4E8F3F
tetradic
#3F4E8F #8F3F76 #8F803F #3F8F58
square
#3F4E8F #8F3F76 #8F803F #3F8F58
split-complementary
#3F4E8F #8F583F #768F3F
monochromatic
#1A203A #2C3765 #3F4E8F #5668B5 #818EC7

Accessibility & contrast

On white

7.78
#3F4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3F4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E8F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E8F#FFFFFF#000000##FFFFFF
##3F4E8F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#155C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4e8f;
/* rgb */ color: rgb(63, 78, 143);
/* oklch */ color: oklch(44.5% 0.108 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a7fb0',
    500: '#3f4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e8f;
$custom-light: #7a7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e8f",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 228.75,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.1079,
    "h": 271.6
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#3F4E8F
secondary
#B2A778
accent
#B959CF
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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