#3F477A#3F477A

#3F477A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.085 H 275.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F477A
RGBrgb(63, 71, 122)
HSLhsl(232, 32%, 36%)
HSVhsv(232, 48%, 48%)
CMYKcmyk(48.4%, 41.8%, 0%, 52.2%)
CIE-LABlab(31.73, 11.67, -30.13)
CIE-LCHlch(31.73, 32.31, 291.17°)
OKLaboklab(41.59% 0.0079 -0.0851)
OKLCHoklch(41.59% 0.085 275.3)
XYZxyz(7.8149, 6.9680, 19.3417)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F477A #7A723F
analogous
#3F657A #3F477A #553F7A
triadic
#3F477A #7A3F47 #477A3F
tetradic
#3F477A #7A3F65 #7A723F #3F7A55
square
#3F477A #7A3F65 #7A723F #3F7A55
split-complementary
#3F477A #7A553F #657A3F
monochromatic
#151829 #2A3052 #3F477A #545EA2 #7982BA

Accessibility & contrast

On white

8.77
#3F477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F477A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F477A#FFFFFF#000000##FFFFFF
##3F477A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#2F4879
Tritanopia (blue-blind)
#2A525A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f477a;
/* rgb */ color: rgb(63, 71, 122);
/* oklch */ color: oklch(41.6% 0.085 275.3);
Tailwind
colors: {
  custom: {
    50: '#787aa1',
    500: '#3f477a',
    950: '#000000',
  },
}
SCSS
$custom: #3f477a;
$custom-light: #787aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f477a",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 231.864,
    "s": 31.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.08547,
    "h": 275.3
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#3F477A
secondary
#A49D70
accent
#BA60C8
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #3F477A

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

Preview Lab → · Contrast checker → · Palette generator →

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