#3F4E8D#3F4E8D

#3F4E8D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.105 H 271.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3F4E8D
RGBrgb(63, 78, 141)
HSLhsl(228, 38%, 40%)
HSVhsv(228, 55%, 55%)
CMYKcmyk(55.3%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.86, 13.47, -36.89)
CIE-LCHlch(34.86, 39.28, 290.06°)
OKLaboklab(44.34% 0.0027 -0.1048)
OKLCHoklch(44.34% 0.105 271.5)
XYZxyz(9.5804, 8.4280, 26.3161)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E8D #8D7E3F
analogous
#3F758D #3F4E8D #573F8D
triadic
#3F4E8D #8D3F4E #4E8D3F
tetradic
#3F4E8D #8D3F75 #8D7E3F #3F8D57
square
#3F4E8D #8D3F75 #8D7E3F #3F8D57
split-complementary
#3F4E8D #8D573F #758D3F
monochromatic
#191F38 #2C3763 #3F4E8D #5668B3 #808EC6

Accessibility & contrast

On white

7.82
#3F4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4E8D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E8D#FFFFFF#000000##FFFFFF
##3F4E8D1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33568F
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#185C66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4e8d;
/* rgb */ color: rgb(63, 78, 141);
/* oklch */ color: oklch(44.3% 0.105 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a7faf',
    500: '#3f4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e8d;
$custom-light: #7a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e8d",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 228.462,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.10488,
    "h": 271.5
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#3F4E8D
secondary
#B1A677
accent
#B85ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3F4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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