#3F487C#3F487C

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

Color values

HEX#3F487C
RGBrgb(63, 72, 124)
HSLhsl(231, 33%, 37%)
HSVhsv(231, 49%, 49%)
CMYKcmyk(49.2%, 41.9%, 0%, 51.4%)
CIE-LABlab(32.14, 11.67, -30.74)
CIE-LCHlch(32.14, 32.88, 290.79°)
OKLaboklab(41.93% 0.007 -0.0869)
OKLCHoklch(41.93% 0.087 274.6)
XYZxyz(8.0042, 7.1463, 20.0225)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F487C #7C733F
analogous
#3F677C #3F487C #553F7C
triadic
#3F487C #7C3F48 #487C3F
tetradic
#3F487C #7C3F67 #7C733F #3F7C55
square
#3F487C #7C3F67 #7C733F #3F7C55
split-complementary
#3F487C #7C553F #677C3F
monochromatic
#16192B #2A3053 #3F487C #5460A5 #7A84BB

Accessibility & contrast

On white

8.64
#3F487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F487C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F487C#FFFFFF#000000##FFFFFF
##3F487C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f487c;
/* rgb */ color: rgb(63, 72, 124);
/* oklch */ color: oklch(41.9% 0.087 274.6);
Tailwind
colors: {
  custom: {
    50: '#787aa2',
    500: '#3f487c',
    950: '#000000',
  },
}
SCSS
$custom: #3f487c;
$custom-light: #787aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f487c",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 231.148,
    "s": 32.62,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.08715,
    "h": 274.6
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#3F487C
secondary
#A69E71
accent
#B95FC9
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3F487C

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

Preview Lab → · Contrast checker → · Palette generator →

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