#3F487E#3F487E

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

Color values

HEX#3F487E
RGBrgb(63, 72, 126)
HSLhsl(231, 33%, 37%)
HSVhsv(231, 50%, 49%)
CMYKcmyk(50%, 42.9%, 0%, 50.6%)
CIE-LABlab(32.25, 12.34, -31.80)
CIE-LCHlch(32.25, 34.11, 291.21°)
OKLaboklab(42.06% 0.0074 -0.09)
OKLCHoklch(42.06% 0.09 274.7)
XYZxyz(8.1320, 7.1974, 20.6954)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F487E #7E753F
analogous
#3F677E #3F487E #563F7E
triadic
#3F487E #7E3F48 #487E3F
tetradic
#3F487E #7E3F67 #7E753F #3F7E56
square
#3F487E #7E3F67 #7E753F #3F7E56
split-complementary
#3F487E #7E563F #677E3F
monochromatic
#16192C #2B3155 #3F487E #535FA7 #7B84BD

Accessibility & contrast

On white

8.61
#3F487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F487E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F487E#FFFFFF#000000##FFFFFF
##3F487E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#27535D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f487e;
/* rgb */ color: rgb(63, 72, 126);
/* oklch */ color: oklch(42.1% 0.090 274.7);
Tailwind
colors: {
  custom: {
    50: '#787aa4',
    500: '#3f487e',
    950: '#000000',
  },
}
SCSS
$custom: #3f487e;
$custom-light: #787aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f487e",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 231.429,
    "s": 33.333,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.09028,
    "h": 274.7
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#3F487E
secondary
#A7A072
accent
#BA5EC9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3F487E

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

Preview Lab → · Contrast checker → · Palette generator →

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