#3F4E7B#3F4E7B

#3F4E7B is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.077 H 269.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3F4E7B
RGBrgb(63, 78, 123)
HSLhsl(225, 32%, 36%)
HSVhsv(225, 49%, 48%)
CMYKcmyk(48.8%, 36.6%, 0%, 51.8%)
CIE-LABlab(33.85, 7.40, -27.42)
CIE-LCHlch(33.85, 28.40, 285.10°)
OKLaboklab(43.23% -0.0013 -0.0772)
OKLCHoklch(43.23% 0.077 269)
XYZxyz(8.3483, 7.9351, 19.8268)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E7B #7B6C3F
analogous
#3F6C7B #3F4E7B #4E3F7B
triadic
#3F4E7B #7B3F4E #4E7B3F
tetradic
#3F4E7B #7B3F6C #7B6C3F #3F7B4E
square
#3F4E7B #7B3F6C #7B6C3F #3F7B4E
split-complementary
#3F4E7B #7B4E3F #6C7B3F
monochromatic
#161B2A #2A3453 #3F4E7B #5468A3 #7A8ABB

Accessibility & contrast

On white

8.12
#3F4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E7B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E7B#FFFFFF#000000##FFFFFF
##3F4E7B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#28575E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f4e7b;
/* rgb */ color: rgb(63, 78, 123);
/* oklch */ color: oklch(43.2% 0.077 269.0);
Tailwind
colors: {
  custom: {
    50: '#777fa1',
    500: '#3f4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e7b;
$custom-light: #777fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e7b",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 225,
    "s": 32.258,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.07717,
    "h": 269
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#3F4E7B
secondary
#A59871
accent
#AE5FC8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #3F4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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