#3F4E85#3F4E85

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

Color values

HEX#3F4E85
RGBrgb(63, 78, 133)
HSLhsl(227, 36%, 38%)
HSVhsv(227, 53%, 52%)
CMYKcmyk(52.6%, 41.4%, 0%, 47.8%)
CIE-LABlab(34.39, 10.74, -32.73)
CIE-LCHlch(34.39, 34.45, 288.17°)
OKLaboklab(43.83% 0.0011 -0.0927)
OKLCHoklch(43.83% 0.093 270.7)
XYZxyz(9.0066, 8.1984, 23.2936)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E85 #85763F
analogous
#3F7185 #3F4E85 #533F85
triadic
#3F4E85 #853F4E #4E853F
tetradic
#3F4E85 #853F71 #85763F #3F8553
square
#3F4E85 #853F71 #85763F #3F8553
split-complementary
#3F4E85 #85533F #71853F
monochromatic
#181D32 #2B365B #3F4E85 #5367AE #7D8CC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F4E85#FFFFFF#000000##FFFFFF
##3F4E851.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)
#385487
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#205A63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4e85;
/* rgb */ color: rgb(63, 78, 133);
/* oklch */ color: oklch(43.8% 0.093 270.7);
Tailwind
colors: {
  custom: {
    50: '#797fa9',
    500: '#3f4e85',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e85;
$custom-light: #797fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e85",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 227.143,
    "s": 35.714,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.09267,
    "h": 270.7
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#3F4E85
secondary
#ACA074
accent
#B45CCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3F4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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