#3F477F#3F477F

#3F477F is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.093 H 275.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3F477F
RGBrgb(63, 71, 127)
HSLhsl(233, 34%, 37%)
HSVhsv(233, 50%, 50%)
CMYKcmyk(50.4%, 44.1%, 0%, 50.2%)
CIE-LABlab(32.02, 13.33, -32.78)
CIE-LCHlch(32.02, 35.39, 292.13°)
OKLaboklab(41.9% 0.0089 -0.0929)
OKLCHoklch(41.9% 0.093 275.5)
XYZxyz(8.1327, 7.0951, 21.0155)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F477F #7F773F
analogous
#3F677F #3F477F #573F7F
triadic
#3F477F #7F3F47 #477F3F
tetradic
#3F477F #7F3F67 #7F773F #3F7F57
square
#3F477F #7F3F67 #7F773F #3F7F57
split-complementary
#3F477F #7F573F #677F3F
monochromatic
#16192D #2B3056 #3F477F #535EA8 #7B83BD

Accessibility & contrast

On white

8.68
#3F477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F477F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F477F#FFFFFF#000000##FFFFFF
##3F477F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#26535D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f477f;
/* rgb */ color: rgb(63, 71, 127);
/* oklch */ color: oklch(41.9% 0.093 275.5);
Tailwind
colors: {
  custom: {
    50: '#787aa4',
    500: '#3f477f',
    950: '#000000',
  },
}
SCSS
$custom: #3f477f;
$custom-light: #787aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f477f",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 232.5,
    "s": 33.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.419,
    "c": 0.0933,
    "h": 275.5
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#3F477F
secondary
#A8A172
accent
#BC5ECA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3F477F

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

Preview Lab → · Contrast checker → · Palette generator →

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