#3F487A#3F487A

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

Color values

HEX#3F487A
RGBrgb(63, 72, 122)
HSLhsl(231, 32%, 36%)
HSVhsv(231, 48%, 48%)
CMYKcmyk(48.4%, 41%, 0%, 52.2%)
CIE-LABlab(32.02, 11.01, -29.67)
CIE-LCHlch(32.02, 31.64, 290.36°)
OKLaboklab(41.81% 0.0066 -0.0837)
OKLCHoklch(41.81% 0.084 274.5)
XYZxyz(7.8790, 7.0962, 19.3631)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F487A #7A713F
analogous
#3F667A #3F487A #543F7A
triadic
#3F487A #7A3F48 #487A3F
tetradic
#3F487A #7A3F66 #7A713F #3F7A54
square
#3F487A #7A3F66 #7A713F #3F7A54
split-complementary
#3F487A #7A543F #667A3F
monochromatic
#151829 #2A3052 #3F487A #5460A2 #7983BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F487A#FFFFFF#000000##FFFFFF
##3F487A1.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)
#354E7C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#29525B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f487a;
/* rgb */ color: rgb(63, 72, 122);
/* oklch */ color: oklch(41.8% 0.084 274.5);
Tailwind
colors: {
  custom: {
    50: '#787aa1',
    500: '#3f487a',
    950: '#000000',
  },
}
SCSS
$custom: #3f487a;
$custom-light: #787aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f487a",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 230.847,
    "s": 31.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.08401,
    "h": 274.5
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#3F487A
secondary
#A49C70
accent
#B860C8
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #3F487A

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

Preview Lab → · Contrast checker → · Palette generator →

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