#3F487B#3F487B

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

Color values

HEX#3F487B
RGBrgb(63, 72, 123)
HSLhsl(231, 32%, 36%)
HSVhsv(231, 49%, 48%)
CMYKcmyk(48.8%, 41.5%, 0%, 51.8%)
CIE-LABlab(32.08, 11.34, -30.20)
CIE-LCHlch(32.08, 32.26, 290.58°)
OKLaboklab(41.87% 0.0068 -0.0853)
OKLCHoklch(41.87% 0.086 274.5)
XYZxyz(7.9413, 7.1211, 19.6911)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F487B #7B723F
analogous
#3F667B #3F487B #543F7B
triadic
#3F487B #7B3F48 #487B3F
tetradic
#3F487B #7B3F66 #7B723F #3F7B54
square
#3F487B #7B3F66 #7B723F #3F7B54
split-complementary
#3F487B #7B543F #667B3F
monochromatic
#16192A #2A3053 #3F487B #5460A3 #7A83BB

Accessibility & contrast

On white

8.66
#3F487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F487B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F487B#FFFFFF#000000##FFFFFF
##3F487B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#29535B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f487b;
/* rgb */ color: rgb(63, 72, 123);
/* oklch */ color: oklch(41.9% 0.086 274.5);
Tailwind
colors: {
  custom: {
    50: '#787aa1',
    500: '#3f487b',
    950: '#000000',
  },
}
SCSS
$custom: #3f487b;
$custom-light: #787aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f487b",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 231,
    "s": 32.258,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.08558,
    "h": 274.5
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#3F487B
secondary
#A59D71
accent
#B95FC8
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #3F487B

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

Preview Lab → · Contrast checker → · Palette generator →

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