#3F487D#3F487D

#3F487D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.089 H 274.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3F487D
RGBrgb(63, 72, 125)
HSLhsl(231, 33%, 37%)
HSVhsv(231, 50%, 49%)
CMYKcmyk(49.6%, 42.4%, 0%, 51%)
CIE-LABlab(32.19, 12.00, -31.27)
CIE-LCHlch(32.19, 33.49, 291.00°)
OKLaboklab(41.99% 0.0072 -0.0884)
OKLCHoklch(41.99% 0.089 274.7)
XYZxyz(8.0678, 7.1717, 20.3572)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F487D #7D743F
analogous
#3F677D #3F487D #553F7D
triadic
#3F487D #7D3F48 #487D3F
tetradic
#3F487D #7D3F67 #7D743F #3F7D55
square
#3F487D #7D3F67 #7D743F #3F7D55
split-complementary
#3F487D #7D553F #677D3F
monochromatic
#16192C #2A3154 #3F487D #545FA6 #7A84BC

Accessibility & contrast

On white

8.63
#3F487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F487D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F487D#FFFFFF#000000##FFFFFF
##3F487D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7F
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#28535C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f487d;
/* rgb */ color: rgb(63, 72, 125);
/* oklch */ color: oklch(42.0% 0.089 274.7);
Tailwind
colors: {
  custom: {
    50: '#787aa3',
    500: '#3f487d',
    950: '#000000',
  },
}
SCSS
$custom: #3f487d;
$custom-light: #787aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f487d",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 231.29,
    "s": 32.979,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.08872,
    "h": 274.7
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#3F487D
secondary
#A69F71
accent
#BA5FC9
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3F487D

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

Preview Lab → · Contrast checker → · Palette generator →

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