#3F4E8E#3F4E8E

#3F4E8E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.106 H 271.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F4E8E
RGBrgb(63, 78, 142)
HSLhsl(229, 39%, 40%)
HSVhsv(229, 56%, 56%)
CMYKcmyk(55.6%, 45.1%, 0%, 44.3%)
CIE-LABlab(34.92, 13.82, -37.41)
CIE-LCHlch(34.92, 39.88, 290.28°)
OKLaboklab(44.4% 0.0029 -0.1064)
OKLCHoklch(44.4% 0.106 271.5)
XYZxyz(9.6552, 8.4579, 26.7097)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E8E #8E7F3F
analogous
#3F758E #3F4E8E #583F8E
triadic
#3F4E8E #8E3F4E #4E8E3F
tetradic
#3F4E8E #8E3F75 #8E7F3F #3F8E58
square
#3F4E8E #8E3F75 #8E7F3F #3F8E58
split-complementary
#3F4E8E #8E583F #758E3F
monochromatic
#191F39 #2C3764 #3F4E8E #5668B4 #818EC7

Accessibility & contrast

On white

7.80
#3F4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E8E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E8E#FFFFFF#000000##FFFFFF
##3F4E8E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325690
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#165C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4e8e;
/* rgb */ color: rgb(63, 78, 142);
/* oklch */ color: oklch(44.4% 0.106 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a7faf',
    500: '#3f4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e8e;
$custom-light: #7a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e8e",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 228.608,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.1064,
    "h": 271.5
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#3F4E8E
secondary
#B1A678
accent
#B859CE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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