#3F4E7A#3F4E7A

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

Color values

HEX#3F4E7A
RGBrgb(63, 78, 122)
HSLhsl(225, 32%, 36%)
HSVhsv(225, 48%, 48%)
CMYKcmyk(48.4%, 36.1%, 0%, 52.2%)
CIE-LABlab(33.80, 7.07, -26.88)
CIE-LCHlch(33.80, 27.79, 284.74°)
OKLaboklab(43.17% -0.0016 -0.0756)
OKLCHoklch(43.17% 0.076 268.8)
XYZxyz(8.2860, 7.9102, 19.4988)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E7A #7A6B3F
analogous
#3F6C7A #3F4E7A #4E3F7A
triadic
#3F4E7A #7A3F4E #4E7A3F
tetradic
#3F4E7A #7A3F6C #7A6B3F #3F7A4E
square
#3F4E7A #7A3F6C #7A6B3F #3F7A4E
split-complementary
#3F4E7A #7A4E3F #6C7A3F
monochromatic
#151A29 #2A3452 #3F4E7A #5468A2 #798ABA

Accessibility & contrast

On white

8.13
#3F4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E7A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E7A#FFFFFF#000000##FFFFFF
##3F4E7A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#29575E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f4e7a;
/* rgb */ color: rgb(63, 78, 122);
/* oklch */ color: oklch(43.2% 0.076 268.8);
Tailwind
colors: {
  custom: {
    50: '#777fa0',
    500: '#3f4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e7a;
$custom-light: #777fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e7a",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 224.746,
    "s": 31.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.07562,
    "h": 268.8
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#3F4E7A
secondary
#A49770
accent
#AE60C8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #3F4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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