#3F4480#3F4480

#3F4480 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.099 H 277.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3F4480
RGBrgb(63, 68, 128)
HSLhsl(235, 34%, 37%)
HSVhsv(235, 51%, 50%)
CMYKcmyk(50.8%, 46.9%, 0%, 49.8%)
CIE-LABlab(31.23, 15.66, -34.67)
CIE-LCHlch(31.23, 38.04, 294.31°)
OKLaboklab(41.31% 0.013 -0.0984)
OKLCHoklch(41.31% 0.099 277.5)
XYZxyz(8.0121, 6.7491, 21.2984)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4480 #807B3F
analogous
#3F6480 #3F4480 #5B3F80
triadic
#3F4480 #803F44 #44803F
tetradic
#3F4480 #803F64 #807B3F #3F805B
square
#3F4480 #803F64 #807B3F #3F805B
split-complementary
#3F4480 #805B3F #64803F
monochromatic
#17182E #2B2E57 #3F4480 #535AA9 #7B80BE

Accessibility & contrast

On white

8.94
#3F4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4480
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4480#FFFFFF#000000##FFFFFF
##3F44801.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#25477F
Tritanopia (blue-blind)
#26515B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f4480;
/* rgb */ color: rgb(63, 68, 128);
/* oklch */ color: oklch(41.3% 0.099 277.5);
Tailwind
colors: {
  custom: {
    50: '#7977a5',
    500: '#3f4480',
    950: '#000000',
  },
}
SCSS
$custom: #3f4480;
$custom-light: #7977a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4480",
  "rgb": {
    "r": 63,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 235.385,
    "s": 34.031,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.09926,
    "h": 277.5
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#3F4480
secondary
#A8A472
accent
#C25ECA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3F4480

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

Preview Lab → · Contrast checker → · Palette generator →

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